Syntax
| Printer.Rectangle X1, Y1, X2, Y2[, Radius1][,Radius2]
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Draws a rectangle.
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 Radius1 and Radius2 parameters are omitted, a rectangle is drawn.
All measurements may be specified with units (inches, points, twips, cm, mm, or pixels). The default unit is twips.
| ||||||||||
See Also
| |||||||||||
Example
|