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




ImageGear.Art Assembly > ImageGear.ART Namespace : ImGearARTArrow Class
Represents legacy ART Arrow mark.
Object Model
ImGearARTArrow ClassImGearRectangle StructureIImGearRGBQuad InterfaceImGearPoint StructureImGearRectangle StructureImGearPoint Structure
Syntax
'Declaration
 
Public Class ImGearARTArrow 
   Inherits ImGearARTMark
 
'Usage
 
Dim instance As ImGearARTArrow
Example
// Setup start and endpoint for the arrow.
ImGearPoint igPointStart = new ImGearPoint(0, 0);
ImGearPoint igPointEnd = new ImGearPoint(igPage.DIB.Width / 2, igPage.DIB.Height / 2);
// Setup color for annotation.
ImGearRGBQuad igRGBQuad = new ImGearRGBQuad(0, 255, 0);
// Create the Arrow annotation with a width of 4, no highlight,
//  regular pointer head type, a 30 degree angle for the head, and a length of 20 for the head.
ImGearARTArrow igARTArrow = new ImGearARTArrow(
    igPointStart, igPointEnd, igRGBQuad, 4, false,
    ImGearARTLineHeadType.POINTER, 30, 20
);
// Add the annotation to the ARTPage.
igARTPage.AddMark(igARTArrow, ImGearARTCoordinatesType.IMAGE_COORD);
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTArrow

See Also

Reference

ImGearARTArrow Members
ImageGear.ART Namespace