ImageGear .NET - Updated
ImGearARTRedaction Class
Members  Example 




ImageGear24.Art Assembly > ImageGear.ART Namespace : ImGearARTRedaction Class
Represents legacy ART Redaction mark.
Object Model
ImGearARTRedaction ClassImGearRectangle StructureIImGearRGBQuad InterfaceImGearRectangle Structure
Syntax
'Declaration
 
Public Class ImGearARTRedaction 
   Inherits ImGearARTMark
'Usage
 
Dim instance As ImGearARTRedaction
public class ImGearARTRedaction : ImGearARTMark 
public __gc class ImGearARTRedaction : public ImGearARTMark 
public ref class ImGearARTRedaction : public ImGearARTMark 
Example
// 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)
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTRedaction

See Also

Reference

ImGearARTRedaction Members
ImageGear.ART Namespace