AccusoftPrintPro8 ActiveX DLL > PrintPro Object : DrawArc Method |
Creates an arc on a document to be printed.
Draws an elliptical arc.
The center of the arc is the center of the bounding rectangle specified by x1, y1, x2 and y2.
The bounding rectangle must be within the physical area of the printed page.
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.
If a printer has not been selected or a document has not been started, the DrawArc method will select the default printer and start a new document.
You can omit an argument in the middle of the syntax, but you must include the argument’s comma before including the next argument. If you omit an optional argument, omit the comma following the last argument you specify.
When DrawArc executes, the CurrentX and CurrentY properties are set to X2 and Y2.