ComponentOne VSView 8.0
PenColor Property (VSPrinter)

Returns or sets the color of the pen used to outline graphical objects.

Syntax

[form!]VSPrinter.PenColor[ = colorref& ]

Remarks

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 Draw and Polygon properties as well as 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.

Data Type

Color

Default Value

vbBlack (0)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback