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