GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / DrawLineArrow Method
GdPicture image identifier.
Specifies the x-coordinate of the starting point of the line.
Specifies the y-coordinate of the starting point of the line.
Specifies the x-coordinate of the ending point of the line.
Specifies the y-coordinate of the ending point of the line.
The width, in pixel, of the pen used to draw the line.
Color of the line. A suitable color value can be obtained by using the ARGB() method.
Set to True to apply the Antialiasing algorithm else False.





In This Topic
DrawLineArrow Method (GdPictureImaging)
In This Topic
Draws a line with an arrow at the end of it.
Syntax
'Declaration
 
Public Function DrawLineArrow( _
   ByVal ImageID As Integer, _
   ByVal SrcLeft As Integer, _
   ByVal SrcTop As Integer, _
   ByVal DstLeft As Integer, _
   ByVal DstTop As Integer, _
   ByVal PenWidth As Integer, _
   ByVal PenColor As GdPictureColor, _
   ByVal AntiAlias As Boolean _
) As GdPictureStatus
public GdPictureStatus DrawLineArrow( 
   int ImageID,
   int SrcLeft,
   int SrcTop,
   int DstLeft,
   int DstTop,
   int PenWidth,
   GdPictureColor PenColor,
   bool AntiAlias
)
public function DrawLineArrow( 
    ImageID: Integer;
    SrcLeft: Integer;
    SrcTop: Integer;
    DstLeft: Integer;
    DstTop: Integer;
    PenWidth: Integer;
    PenColor: GdPictureColor;
    AntiAlias: Boolean
): GdPictureStatus; 
public function DrawLineArrow( 
   ImageID : int,
   SrcLeft : int,
   SrcTop : int,
   DstLeft : int,
   DstTop : int,
   PenWidth : int,
   PenColor : GdPictureColor,
   AntiAlias : boolean
) : GdPictureStatus;
public: GdPictureStatus DrawLineArrow( 
   int ImageID,
   int SrcLeft,
   int SrcTop,
   int DstLeft,
   int DstTop,
   int PenWidth,
   GdPictureColor PenColor,
   bool AntiAlias
) 
public:
GdPictureStatus DrawLineArrow( 
   int ImageID,
   int SrcLeft,
   int SrcTop,
   int DstLeft,
   int DstTop,
   int PenWidth,
   GdPictureColor PenColor,
   bool AntiAlias
) 

Parameters

ImageID
GdPicture image identifier.
SrcLeft
Specifies the x-coordinate of the starting point of the line.
SrcTop
Specifies the y-coordinate of the starting point of the line.
DstLeft
Specifies the x-coordinate of the ending point of the line.
DstTop
Specifies the y-coordinate of the ending point of the line.
PenWidth
The width, in pixel, of the pen used to draw the line.
PenColor
Color of the line. A suitable color value can be obtained by using the ARGB() method.
AntiAlias
Set to True to apply the Antialiasing algorithm else False.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method requires the Image Documents component to run.

See Also