Visual Basic
C#
Managed Extensions for C++
C++/CLI
C# | Copy Code |
---|---|
// Setup rectangle for the ellipse mark's location. ImGearRectangle igRectangle = new ImGearRectangle(10, 10, 300, 100); // Setup color for the ellipse. ImGearRGBQuad igRGBQuadEllipse = new ImGearRGBQuad(40, 40, 200); // Create ellipse with highlight on. ImGearARTFilledEllipse igARTFilledEllipse = new ImGearARTFilledEllipse( igRectangle, igRGBQuadEllipse, true ); // Add the annotation to the ARTPage. igARTPage.AddMark(igARTFilledEllipse, ImGearARTCoordinatesType.IMAGE_COORD); |
Visual Basic | Copy Code |
---|---|
' Setup rectangle for the ellipse mark's location. Dim igRectangle As New ImGearRectangle(10, 10, 300, 100) ' Setup color for the ellipse. Dim igRGBQuadEllipse As New ImGearRGBQuad(40, 40, 200) ' Create ellipse with highlight on. Dim igARTFilledEllipse As New ImGearARTFilledEllipse( _ igRectangle, igRGBQuadEllipse, True) ' Add the annotation to the ARTPage. igARTPage.AddMark(igARTFilledEllipse, ImGearARTCoordinatesType.IMAGE_COORD) |
System.Object
ImageGear.ART.ImGearARTSelection
ImageGear.ART.ImGearARTMark
ImageGear.ART.ImGearARTFilledEllipse