The GetVectorPen transaction returns the color, width, units, and dashing option of the specified vector pen line. Pen settings are used in HPGL, HPGL/2, and Calcomp 906/907 vector files.
Type XTYP_REQUEST
Syntax [GetVectorPen(penNumber)]
|
Parameter |
Data type |
Values |
Meaning |
|
penNumber |
WORD |
0 to 255 |
number of the pen to query |
|
Reply |
Data type |
Values |
Meaning |
|
color |
WORD |
pen color | |
|
width |
WORD |
0 | 1 | 2 | ... |
pen width in the specified units |
|
units |
WORD |
1 |
inches |
|
|
|
5 |
mm |
|
|
|
7 |
points |
|
dashCnt |
WORD |
0 to 4 |
number of dash options being used |
|
dash1 ... dash4 |
WORD |
1 | 2 | 3 | ... |
length of the dashes in the line pattern. The number of dash values matches the dashCnt value. |
Release information
Added in Release 4.53.
See also