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.
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.
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.
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.
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.
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 Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document