VECTOROPTIONS

typedef struct _VECTOROPTIONS 
{ 
   L_UINT uStructSize; 
   VEC2DOPTIONS Vec2DOptions; 
   L_INT nBitsPerPixel; 
   L_BOOL bForceBackgroundColor; 
   L_COLORREF BackgroundColor; 
} VECTOROPTIONS, *pVECTOROPTIONS; 

The VECTOROPTIONS structure specifies extra options for loading a vector file.

Members

uStructSize

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

Vec2DOptions

Contains values that describe the viewport (physical size up to which the drawing can be rendered) mode and dimensions at which the vector file will be loaded.  For more information, refer to the VEC2DOPTIONS structure.

nBitsPerPixel

Number of bits per pixel at which the vector file will be rasterized.

bForceBackgroundColor

TRUE if the BackgroundColor field is used as vector background, else it will use the defined background color for the loaded vector file. The default is FALSE.

BackgroundColor

Vector background color.

Comments

pVECTOROPTIONS is a pointer to a VECTOROPTIONS structure. Where the function parameter type is pVECTOROPTIONS, you can declare a VECTOROPTIONS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pVECTOROPTIONS variable is necessary only if your program requires a pointer.

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