DrawArc Method

See Also     Examples     Applies To

Draws an arc into the native image. The arc is part of an ellipse.

Syntax

object.DrawArc (nDstX, nDstY, nWidth, nHeight, nStartAngle, nSweepAngle, nPenWidth, nColor, bAntiAlias)

The DrawArc syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nDstX Required. Long. Specifies the x-coordinate of the upper-left corner of the bounding rectangle for the ellipse that contains the arc.
nDstY Required. Long. Specifies the y-coordinate of the upper-left corner of the bounding rectangle for the ellipse that contains the arc.
nWidth Required. Long. Specifies the width of the ellipse that contains the arc.
nHeight Required. Long. Specifies the height of the ellipse that contains the arc.
nStartAngle Required. Single. Specifies the angle between the x-axis and the starting point of the arc.
nSweepAngle Required. Single. Specifies the angle between the starting and ending points of the arc.
nPenWidth Required. Long. The width in pixel of the pen used to draw the arc.
nColor Optional. Long. Default value is Black. ARGB long color value of the arc.
bAntiAlias Optional. Boolean. Default value is False. Set to True to apply the Antialiasing algorithm else False.

Returns

ImagingStatus

Remarks

The ImagingStatus constants are defined HERE

Category

Draw (Lines and Shapes)





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.