ImageGear for .NET
ImGearARTPinUpText Class
Members  Example  See Also  Send Feedback
ImageGear21.Art Assembly > ImageGear.ART Namespace : ImGearARTPinUpText Class




Glossary Item Box

Represents legacy ART Pin-Up-Text mark.

Object Model

ImGearARTPinUpText ClassImGearRectangle StructureImGearRectangle StructureIImGearRGBQuad InterfaceIImGearRGBQuad Interface

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Example

C#Copy Code
// 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);
Visual BasicCopy Code
' 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

©2013. Accusoft Corporation. All Rights Reserved.