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




In This Topic
    ImGearARTTextStamp Class
    In This Topic
    Represents legacy ART Text Stamp mark.
    Object Model
    ImGearARTTextStamp ClassImGearRectangle StructureImGearRectangle StructureIImGearRGBQuad Interface
    Syntax
    'Declaration
     
    Public Class ImGearARTTextStamp 
       Inherits ImGearARTMark
    'Usage
     
    Dim instance As ImGearARTTextStamp
    public class ImGearARTTextStamp : ImGearARTMark 
    public __gc class ImGearARTTextStamp : public ImGearARTMark 
    public ref class ImGearARTTextStamp : public ImGearARTMark 
    Example
    // Setup rectangle for the text mark's location.
    ImGearRectangle igRectangle = new ImGearRectangle(10, 10, 200, 20);
    // Setup color for the text.
    ImGearRGBQuad igRGBQuadText = new ImGearRGBQuad(255, 0, 255);
    // Create the text stamp annotation
    ImGearARTTextStamp igARTTextStamp = new ImGearARTTextStamp(
        igRectangle, "ImGearARTTextStamp test", igRGBQuadText,
        "Arial", (float)14.0, ImGearARTFontStyles.Regular
    );
    // Add the annotation to the ARTPage.
    igARTPage.AddMark(igARTTextStamp, ImGearARTCoordinatesType.IMAGE_COORD);
    ' Setup rectangle for the text mark's location.
    Dim igRectangle As New ImGearRectangle(10, 10, 200, 20)
    ' Setup color for the text.
    Dim igRGBQuadText As New ImGearRGBQuad(255, 0, 255)
    ' Create the text stamp annotation
    Dim igARTTextStamp As New ImGearARTTextStamp( _
     igRectangle, "ImGearARTTextStamp test", igRGBQuadText, _
     "Arial", CSng(14), ImGearARTFontStyles.Regular)
    ' Add the annotation to the ARTPage.
    igARTPage.AddMark(igARTTextStamp, ImGearARTCoordinatesType.IMAGE_COORD)
    Inheritance Hierarchy

    System.Object
       ImageGear.ART.ImGearARTSelection
          ImageGear.ART.ImGearARTMark
             ImageGear.ART.ImGearARTTextStamp

    See Also