Printer Object
 
Syntax
 
Printer.PenColor = lColorRef
 
Description
Returns or sets the color 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. The pen is also used to outline text boxes drawn using the TextBox method when the Shade parameter is set to True.
 
See Also
Example