ImageGear PDF v25.2 - Updated
ImGearARTNote Class
Members  Example 




ImageGear.Art Assembly > ImageGear.ART Namespace : ImGearARTNote Class
Represents legacy ART Attach-A-Note mark.
Object Model
ImGearARTNote ClassImGearRectangle StructureIImGearRGBQuad InterfaceImGearSize StructureImGearRectangle StructureIImGearRGBQuad Interface
Syntax
'Declaration
 
Public Class ImGearARTNote 
   Inherits ImGearARTMark
'Usage
 
Dim instance As ImGearARTNote
public class ImGearARTNote : ImGearARTMark 
public __gc class ImGearARTNote : public ImGearARTMark 
public ref class ImGearARTNote : public ImGearARTMark 
Example
// Setup rectangle for the note mark's location.
ImGearRectangle igRectangle = new ImGearRectangle(10, 10, 300, 100);
// Setup color for the note text.
ImGearRGBQuad igRGBQuadText = new ImGearRGBQuad(0, 0, 0);
// Setup color for the note fill.
ImGearRGBQuad igRGBQuadFill = new ImGearRGBQuad(40, 200, 40);
// Create note mark using size 16 italic Arial font 
ImGearARTNote igARTNote = new ImGearARTNote(
    igRectangle, "ImGearARTNote test", igRGBQuadText, igRGBQuadFill,
    "Arial", (float)16.0, ImGearARTFontStyles.Italic
);
// Add the annotation to the ARTPage.
igARTPage.AddMark(igARTNote, ImGearARTCoordinatesType.IMAGE_COORD);
' Setup rectangle for the note mark's location.
Dim igRectangle As New ImGearRectangle(10, 10, 300, 100)
' Setup color for the note text.
Dim igRGBQuadText As New ImGearRGBQuad(0, 0, 0)
' Setup color for the note fill.
Dim igRGBQuadFill As New ImGearRGBQuad(40, 200, 40)
' Create note mark using size 16 italic Arial font 
Dim igARTNote As New ImGearARTNote( _
 igRectangle, "ImGearARTNote test", igRGBQuadText, igRGBQuadFill, _
"Arial", CSng(16), ImGearARTFontStyles.Italic)
' Add the annotation to the ARTPage.
igARTPage.AddMark(igARTNote, ImGearARTCoordinatesType.IMAGE_COORD)
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTNote

See Also

Reference

ImGearARTNote Members
ImageGear.ART Namespace

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