Visual Basic
C#
Managed Extensions for C++
C++/CLI
C# | Copy Code |
---|---|
// Setup rectangle for the hollow ellipse mark's location. ImGearRectangle igRectangle = new ImGearRectangle(10, 10, 300, 100); // Setup color for the hollow ellipse. ImGearRGBQuad igRGBQuad = new ImGearRGBQuad(40, 200, 40); // Create hollow ellipse with a border of 10 and highlight off. ImGearARTHollowEllipse igARTHollowEllipse = new ImGearARTHollowEllipse( igRectangle, igRGBQuad, 10, false ); // Add the annotation to the ARTPage. igARTPage.AddMark(igARTHollowEllipse, ImGearARTCoordinatesType.IMAGE_COORD); |
Visual Basic | Copy Code |
---|---|
' Setup rectangle for the hollow ellipse mark's location. Dim igRectangle As New ImGearRectangle(10, 10, 300, 100) ' Setup color for the hollow ellipse. Dim igRGBQuad As New ImGearRGBQuad(40, 200, 40) ' Create hollow ellipse with a border of 10 and highlight off. Dim igARTHollowEllipse As New ImGearARTHollowEllipse( _ igRectangle, igRGBQuad, 10, False) ' Add the annotation to the ARTPage. igARTPage.AddMark(igARTHollowEllipse, ImGearARTCoordinatesType.IMAGE_COORD) |
System.Object
ImageGear.ART.ImGearARTSelection
ImageGear.ART.ImGearARTMark
ImageGear.ART.ImGearARTHollowEllipse