VECTOROPTIONS (original) (raw)

Summary

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

Syntax

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

LEADTOOLS Raster Imaging C API Help