FILEPLTOPTIONS

typedef struct _FILEPLTOPTIONS
{
   L_UINT uStructSize;
   L_INT PenWidth[8];
   COLORREF PenColor[8];
   L_BOOL bPenColorOverride;
} FILEPLTOPTIONS, L_FAR * pFILEPLTOPTIONS;

The FILEPLTOPTIONS structure provides information on loading HPGL files in LEADTOOLS.

The following functions make use of this structure:

LFileSettings::GetPLTOptions

LFileSettings::SetPLTOptions

Member

Description

uStructSize

Size of the structure. This must be set before passing this structure to the LEAD functions. Use sizeof(FILEPLTOPTIONS).

PenWidth

Array of integers that represent pen widths used by an HPGL file.

PenColor

Array of COLORREF structures that represent pen colors used by a HPGL file.

bPenColorOverride

Some PLT commands allow overriding pen colors. If you want to enable these commands to override the Pen colors you provided using PenColor above, you should set this flag to TRUEBy default this flag is set to FALSE.

Comments

pFILEPLTOPTIONS is a pointer to a FILEPLTOPTIONS structure.

Use LFileSettings::SetPLTOptions and LFileSettings::GetPLTOptions to set and get the HPGL file options.