VECTOROPTIONS

Summary

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

Syntax

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

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.

Usage

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

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.