ImageGear .NET v25.2 - Updated
ImageGear.Art Assembly / ImageGear.ART Namespace / ImGearARTRedaction Class
Members Example




In This Topic
    ImGearARTRedaction Class
    In This Topic
    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