Selecting vector pen settings

 

HPGL and Calcomp 906/907 files consist of up to 256 different vector pen lines. You can define the color, width, and dashing pattern of each of these lines individually.

To find out the current attributes of a particular vector pen:

· Use the GetVectorPen transaction.

To change all attributes of a particular vector pen:

· Use the SetVectorPen transaction.

To change the color of a vector pen line:

· Use the SetVectorPenColor transaction.

To change the width of a vector pen line:

· Use the SetVectorPenWidth transaction.

To change the dashing pattern of a vector pen line:

· Use the SetVectorPenPattern transaction.

If you prefer, you can define all the vector pen values in an INI file, and load it for use. The settings that are retrieved are pen color, pen thickness, and dashed line patterns.

To change the INI file used for vector pens:

· Use the LoadPenSettings transaction.

For a description of the settings that the specified INI file must contain, click INI file settings for vector pens.

See also