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

VECTORVIEWMODE

Show in webframe

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:

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