ImageGear for .NET
ImGearARTTypedText Class
Members  Example 




Represents legacy ART Typed Text mark.
Object Model
ImGearARTTypedText ClassImGearRectangle StructureImGearSize StructureImGearRectangle StructureIImGearRGBQuad Interface
Syntax
'Declaration
 
Public Class ImGearARTTypedText 
   Inherits ImGearARTMark
'Usage
 
Dim instance As ImGearARTTypedText
public class ImGearARTTypedText : ImGearARTMark 
public __gc class ImGearARTTypedText : public ImGearARTMark 
public ref class ImGearARTTypedText : 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(0, 0, 255);
// Create the typed text annotation
ImGearARTTypedText igARTTypedText = new ImGearARTTypedText(
    igRectangle, "ImGearARTTypedText test", igRGBQuadText,
    "Arial", (float)14.0, ImGearARTFontStyles.Regular
);
// Add the annotation to the ARTPage.
igARTPage.AddMark(igARTTypedText, 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(0, 0, 255)
' Create the typed text annotation
Dim igARTTypedText As New ImGearARTTypedText( _
 igRectangle, "ImGearARTTypedText test", igRGBQuadText, _
 "Arial", CSng(14), ImGearARTFontStyles.Regular)
' Add the annotation to the ARTPage.
igARTPage.AddMark(igARTTypedText, ImGearARTCoordinatesType.IMAGE_COORD)
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTTypedText

See Also

Reference

ImGearARTTypedText Members
ImageGear.ART Namespace

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback