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