ImageGear .NET v25.2 - Updated
ImGearARTPinUpText Class
Members  Example 




ImageGear.Art Assembly > ImageGear.ART Namespace : ImGearARTPinUpText Class
Represents legacy ART Pin-Up-Text mark.
Object Model
ImGearARTPinUpText ClassImGearRectangle StructureImGearRectangle StructureIImGearRGBQuad InterfaceIImGearRGBQuad Interface
Syntax
'Declaration
 
Public Class ImGearARTPinUpText 
   Inherits ImGearARTMark
'Usage
 
Dim instance As ImGearARTPinUpText
public class ImGearARTPinUpText : ImGearARTMark 
public __gc class ImGearARTPinUpText : public ImGearARTMark 
public ref class ImGearARTPinUpText : public ImGearARTMark 
Example
// Setup rectangle for the pinup mark's location.
ImGearRectangle igRectangle = new ImGearRectangle(10, 10, 300, 100);
// Setup color for the text.
ImGearRGBQuad igRGBQuadText = new ImGearRGBQuad(0, 0, 0);
// Setup color for the pin.
ImGearRGBQuad igRGBQuadPin = new ImGearRGBQuad(40, 200, 40);
// Create pinup mark using size 14 bold Arial font 
ImGearARTPinUpText igARTPinUpText = new ImGearARTPinUpText(
    igRectangle, "ImGearARTPinUpText test", igRGBQuadText, "Arial", (float)14.0, ImGearARTFontStyles.Bold, igRGBQuadPin
);
// Add the annotation to the ARTPage.
igARTPage.AddMark(igARTPinUpText, ImGearARTCoordinatesType.IMAGE_COORD);
' Setup rectangle for the pinup mark's location.
Dim igRectangle As New ImGearRectangle(10, 10, 300, 100)
' Setup color for the text.
Dim igRGBQuadText As New ImGearRGBQuad(0, 0, 0)
' Setup color for the pin.
Dim igRGBQuadPin As New ImGearRGBQuad(40, 200, 40)
' Create pinup mark using size 14 bold Arial font 
Dim igARTPinUpText As New ImGearARTPinUpText( _
 igRectangle, "ImGearARTPinUpText test", igRGBQuadText, _
 "Arial", CSng(14), ImGearARTFontStyles.Bold, igRGBQuadPin)
' Add the annotation to the ARTPage.
igARTPage.AddMark(igARTPinUpText, ImGearARTCoordinatesType.IMAGE_COORD)
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTPinUpText

See Also

Reference

ImGearARTPinUpText Members
ImageGear.ART Namespace

Is this page helpful?
Yes No
Thanks for your feedback.