ImageGear23.Art Assembly > ImageGear.ART Namespace : ImGearARTArrow Class |
'Declaration Public Class ImGearARTArrow Inherits ImGearARTMark
'Usage Dim instance As ImGearARTArrow
public class ImGearARTArrow : ImGearARTMark
public __gc class ImGearARTArrow : public ImGearARTMark
public ref class ImGearARTArrow : public ImGearARTMark
// 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);
' Setup start and endpoint for the arrow. Dim igPointStart As New ImGearPoint(0, 0) Dim igPointEnd As New ImGearPoint(igPage.DIB.Width / 2, igPage.DIB.Height / 2) ' Setup color for annotation. Dim igRGBQuad As 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. Dim igARTArrow As New ImGearARTArrow( _ igPointStart, igPointEnd, igRGBQuad, _ 4, False, ImGearARTLineHeadType.POINTER, 30, 20) ' Add the annotation to the ARTPage. igARTPage.AddMark(igARTArrow, ImGearARTCoordinatesType.IMAGE_COORD)
System.Object
ImageGear.ART.ImGearARTSelection
ImageGear.ART.ImGearARTMark
ImageGear.ART.ImGearARTArrow