Accusoft ImagXpress 13
DrawArc Method
The left component (in pixels) of the top-left coordinate for the bounding rectangle.
The top component (in pixels) of the top-left coordinate for the bounding rectangle.
The right component (in pixels) of the bottom-right coordinate for the bounding rectangle.
The bottom component (in pixels) of the bottom-right coordinate for the bounding rectangle.
The starting angle (in degrees, 0-360) of the arc.
The end angle (in degrees, 0-360) of the arc.

The RGB color of the circles outline. You can use the RGB function to specify the color.

Note: Value specified must be in a valid OLE_COLOR range. 

Description
Draws an arc onto the image.
Syntax
Visual Basic
Public Sub DrawArc( _
   ByVal x1 As Long, _
   ByVal y1 As Long, _
   ByVal x2 As Long, _
   ByVal y2 As Long, _
   ByVal StartAngle As Integer, _
   ByVal EndAngle As Integer, _
   ByVal Color As OLE_COLOR _
) 
Parameters
x1
The left component (in pixels) of the top-left coordinate for the bounding rectangle.
y1
The top component (in pixels) of the top-left coordinate for the bounding rectangle.
x2
The right component (in pixels) of the bottom-right coordinate for the bounding rectangle.
y2
The bottom component (in pixels) of the bottom-right coordinate for the bounding rectangle.
StartAngle
The starting angle (in degrees, 0-360) of the arc.
EndAngle
The end angle (in degrees, 0-360) of the arc.
Color

The RGB color of the circles outline. You can use the RGB function to specify the color.

Note: Value specified must be in a valid OLE_COLOR range. 

Remarks

Draws an elliptical arc. The center of the arc is the center of the bounding rectangle specified by x1, y1, x2 and y2. The starting and end points of the arc are determined by the startAngle and endAngle values. The arc is drawn in a counterclockwise direction.

The width of the line used to draw the arc depends on the setting of the DrawWidth property. The way the arc is drawn on the background depends on the setting of the DrawMode and DrawStyle properties.

This method draws into the control's DIB.

See Also

ImagXpress Object  | ImagXpress Members  | DrawWidth Property  | DrawMode Property  | DrawStyle Property

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback