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




Glossary Item Box

Represents legacy ART Attach-A-Note mark.

Object Model

ImGearARTNote ClassImGearRectangle StructureIImGearRGBQuad InterfaceImGearSize StructureImGearRectangle StructureIImGearRGBQuad Interface

Syntax

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

Example

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

©2013. Accusoft Corporation. All Rights Reserved.