Available in the LEADTOOLS Imaging toolkit. |
VectorViewportMode Property (ILEADRasterDlgFile)
RasterizeViewModeConstants VectorViewportMode; | |
Overview |
Refer to Using Imaging Common Dialogs |
Remarks
(Read Only) Gets the viewport mode value entered by the user in the Open dialog box.
Possible values are:
Value |
Meaning |
L2D_USE_BEST |
Fit the drawing into the current view-port width and height. Final image size is less than or equal to the view-port size. |
L2D_USE_WIDTH |
Use the current view-port width. Calculate the new height, preserving the aspect ratio. Final image size has the same width as the current view-port width, with the height less than or equal to the current view-port height. |
L2D_USE_HEIGHT |
Use the current view-port height. Calculate the new width, preserving the aspect ratio. Final image size has the same height as the current view-port height, with the width less than or equal to the current view-port width. |
L2D_USE_WIDTH_HEIGHT |
Use both the width and the height (stretch the image if necessary). Final image size has the same width and height as the current view-port size. |
The VectorViewportMode property is valid only if the OptionsFileType property contains one of the following formats:
FILE_DWF,
FILE_CGM,
FILE_CMX,
FILE_PCL,
FILE_VECTOR_DUMP,
FILE_PCT,
FILE_DRW,
FILE_INTERGRAPH_VECTOR,
FILE_GERBER,
FILE_SHP,
FILE_SVG,
FILE_VWPG.
See Also
Elements |