VECTORVIEWMODE - Raster Imaging C API Help

VECTORVIEWMODE

typedef enum _VECTORVIEWMODE 
{ 
   VECTORVIEWMODE_USE_BEST; 
   VECTORVIEWMODE_USE_WIDTH_HEIGHT; 
   VECTORVIEWMODE_USE_WIDTH; 
   VECTORVIEWMODE_USE_HEIGHT; 
}VECTORVIEWMODE, *pVECTORVIEWMODE; 

The VECTORVIEWMODE enumeration specifies the view mode to be used when loading a vector file.

Member

Description

VECTORVIEWMODE_USE_BEST

Fit the drawing into viewport (physical size up to which the drawing can be rendered)  width and height set by user or the default one. Final image size is less than or equal to viewport size.

VECTORVIEWMODE_USE_WIDTH_HEIGHT

Use both the width and the height (stretch the image if necessary). The final image size has the same width and height as the current viewport size.

VECTORVIEWMODE_USE_WIDTH

Use the current viewport width. Calculate the new height, preserving the aspect ratio. The final image size has the same width as the current viewport width, with the height less than or equal to the current viewport height.

VECTORVIEWMODE_USE_HEIGHT

Use the current viewport height. Calculate the new width, preserving the aspect ratio. Final image size has the same height as the current viewport height, with the width less than or equal to the current viewport width.

Comments

The VECTORVIEWMODE enumeration is used by the following structure:

Structure Member

Units

VEC2DOPTIONS.ViewMode

The view mode to be used when loading a vector file.

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help