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.

Member

Description

uStructSize

Size of the structure. This must be set before passing this structure to the LEAD functions. Use the sizeof() macro 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 following functions make use of this structure:

L_GetVectorOptions

L_SetVectorOptions

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help