|
The PenStyle property determines the style in which the pen draws lines.
Syntax
[VC++]
long GetPenStyle();
void SetPenStyle(long nNewValue);
[C#]
public abstract new eDocEngineX.TxgtPenStyle PenStyle [ get, set ]
[VB]
Property PenStyle As TxgtPenStyle
|
Remarks
Use PenStyle to draw a dotted or dashed line, or to omit the line that appears as a frame around shapes.
Note
Dotted or dashed pen styles are not available for most of the engines when the PenWidth property is not 1. Following are the values for TxgtPenStyle:
Pen Style
|
Description
|
Values
|
psSolid
|
A solid line.
|
0
|
psDash
|
A line made up of a series of dashes.
|
1
|
psDot
|
A line made up of a series of dots.
|
2
|
psDashDo
|
A line made up of altering dashes and dots.
|
3
|
psDashDotDo
|
A line made up of a series of dash-dot-dot combinations.
|
4
|
psClear
|
No line is drawn(used to omit the line around shapes that draw an outline using the current pen).
|
5
|
psInsideFrame
|
A solid line, but one that may use a dithered color if width is greater than 1
|
6
|
Requirements
Header: gtDocEnums.h
Example Code
For an example code, see Pen Formatting.
See Also
PenColor, PenWidth
|