ImageGear21.Art Assembly > ImageGear.ART Namespace : ImGearARTNote Class |
'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
// 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)
System.Object
ImageGear.ART.ImGearARTSelection
ImageGear.ART.ImGearARTMark
ImageGear.ART.ImGearARTNote