Available in the LEADTOOLS Imaging toolkit. |
DrawPenStyle property (Main Control)
Visual Basic example
Visual C++ 4.0 example
Access 2.0 example
Access
95, 97 example
Visual
J++ example
Syntax short DrawPenStyle
Overview: Refer to Drawing Simple Objects.
Remarks
(Persistent property, available at design time) Specifies the line style of the drawing object. The following are valid values:
Value Description
DRAWPENSTYLE_SOLID Lines are solid.
DRAWPENSTYLE_DASH Lines are dashed. This style is valid only when the DrawPenWidth property is 1.
DRAWPENSTYLE_DOT Lines are dotted. This style is valid only when the DrawPenWidth property is 1.
DRAWPENSTYLE_DASH_DOT Lines alternate dashes and dots. This style is valid only when the DrawPenWidth property is 1.
DRAWPENSTYLE_DASH_DOT_DOT Lines alternate dashes and double dots. This style is valid only when the DrawPenWidth property is 1.
DRAWPENSTYLE_TRANSPARENT Lines are invisible.
DRAWPENSTYLE_INSIDE_SOLID Lines are solid, and are inside the bounds of the object.
DRAWPENSTYLE_LAST Last value (for testing a loop counter).
See Also
Topics: Working
with the Control: Client Area Usage
Raster Images: Drawing on a Bitmap