AccusoftPrintPro8 ActiveX DLL > PrintPro Object : DrawRoundRect Method |
Creates a rectangle with rounded corners on the document to be printed.
The coordinates of the round rectangle must be within the physical area of the printed page.
To fill a rounded rectangle, set the FillColor and FillStyle properties of the object on which the rectangle is drawn.
The width of the line used to draw the rectangle depends on the setting of the DrawWidth property.
The way the rectangle 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 DrawRoundRect 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 DrawRoundRect executes, the CurrentX and CurrentY properties are set to X2 and Y2.