ImageGear PDF v25.1 - Updated July 30, 2021
ImGearARTTextCallout Class
Members  Example 




ImageGear.Art Assembly > ImageGear.ART Namespace : ImGearARTTextCallout Class
Represents legacy ART Callout Text mark.
Object Model
ImGearARTTextCallout ClassImGearRectangle StructureImGearARTCallout ClassImGearSize StructureImGearRectangle StructureImGearRectangle StructureIImGearRGBQuad Interface
Syntax
'Declaration
 
Public Class ImGearARTTextCallout 
   Inherits ImGearARTMark
 
'Usage
 
Dim instance As ImGearARTTextCallout
Example
// Setup color for the callout border.
ImGearRGBQuad igRGBQuadBorderCallout = new ImGearRGBQuad(0, 255, 255);
// Setup a border with a width of 3 and a solid pattern.
ImGearARTBorder igARTBorderCallout = new ImGearARTBorder(
    igRGBQuadBorderCallout, 3, ImGearARTPenStyle.SOLID
);
// Create a callout to be used for the annotation.
ImGearARTCallout igARTCallout = new ImGearARTCallout(
    ImGearARTCalloutType.LINE, igPage.DIB.Width / 2,
    igPage.DIB.Height / 2, igARTBorderCallout
);
// 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 callout annotation.
ImGearARTTextCallout igARTTextCallout = new ImGearARTTextCallout(
    igRectangle, "ImGearARTText annotation", igRGBQuadText,
    "Arial", (float)14.0, ImGearARTFontStyles.Regular, igARTCallout
);
// Add the annotation to the ARTPage.
igARTPage.AddMark(igARTTextCallout, ImGearARTCoordinatesType.IMAGE_COORD);
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTTextCallout

See Also

Reference

ImGearARTTextCallout Members
ImageGear.ART Namespace