ComponentOne VSView 8.0
PenWidth Property (VSDraw)

Returns or sets the pen width, in logical units.

Syntax

[form!]VSDraw.PenWidth[ = value As Double ]

Remarks

The PenColor, PenStyle, and PenWidth properties define the pen used to outline all graphical objects drawn on the control.

Graphical objects are created using the Draw and Polygon properties as well as the DrawRectangle, DrawCircle, and DrawEllipse methods.

The pen width is specified in scale units, defined by the ScaleWidth, ScaleHeight, ScaleLeft, and ScaleHeight properties.

If you set this property to zero, the resulting pen is one pixel wide. This is the only settings that allows the creation of non-solid pens (also see PenStyle).

Data Type

Double

Default Value

0

 

 


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

Product Support Forum  |  Documentation Feedback