Printer Object
 
Syntax
 
Printer.DrawCirle centerX, centerY, Radius[, Start][,End]
 
Description
Draws a circle, circular wedge, or circular arc.
 
All graphical objects are drawn with the current pen and filled with the current brush. Pen and brush attributes are defined with the PenColor, PenStyle, PenWidth, BrushColor, and BrushStyle properties.
 
If the Start and End parameters are not specified, a circle is drawn. If they are specified, an arc or wedge are drawn depending on the setting of the BrushStyle property. If the BrushStyle is set to bsTransparent, an arc is drawn. Otherwise, a wedge is drawn (a wedge is just a filled arc.)
 
The CenterX, CenterY, and Radius parameters may be specified with units (inches, points, twips, cm, mm, or pixels). The default unit is twips.
 
The Start and End parameters are measured counter-clockwise, starting from the 3 o’clock position.
 
Parameter
Description
CenterX
X coordinate of the center of the circle, arc, or wedge.
CenterY
Y coordinate of the center of the circle, arc, or wedge.
Radius
Radius of the circle, arc, or wedge.
Start
Optional parameter that specifies the beginning position of an arc or wedge, in radians. If omitted, a circle is drawn.
End
Optional parameter that specifies the end position of an arc or wedge, in radians. If omitted, a circle is drawn.
 
See Also
Example