// 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);
' 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)