Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

VECTOROPTIONS

Show in webframe

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

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.