FILEPLTOPTIONS

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

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

Members

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

Flag that indicates whether to enable or disable PLT commands that allow overriding pen colors provided by PenColor member.

Value Meaning
TRUE Enables PLT commands.
FALSE Disables PLT commands. This is the default value.

Comments

pFILEPLTOPTIONS is a pointer to a FILEPLTOPTIONS structure.

Use L_SetPLTOptions and L_GetPLTOptions to set and get the HPGL file options.

The structure is used by:

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help