Syntax
| Printer.PenStyle = vsPenStyleSettings
| ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Returns or sets the style of the pen used to outline graphical objects.
The PenColor, PenStyle, and PenWidth properties define the pen used to outline all graphical objects drawn on the control. The pen object is also used to borders around pages and tables depending on the settings of the PageBorder, TableBorder properties.
Graphical objects are created using the DrawRectangle, DrawCircle, and DrawEllipse methods.
Note: Non-solid settings are only valid when the PenWidth property is set to zero (which translates into a pen one-pixel wide). This is a Windows GDI limitation, not imposed by the Printer object
| ||||||||||||||||||||||||||||
See Also
| |||||||||||||||||||||||||||||
Example
|