Sets the image display scaling and position as specified in the imageFit parameter.
Visual Basic |
---|
Public Sub SetImageZoomToFit( _ ByVal imageFit As PV_ZoomToFit _ ) |
- imageFit
A PV_ZoomToFit enumeration value which represents the scaling and position to zoom the image.Value Description PV_ZoomToFit_1To1Ratio The image will be scaled such that each pixel of the image maps directly to a pixel in the image window. Some horizontal and vertical elements of the image may not be visible in the image window. PV_ZoomToFit_ActualSize The image will be scaled such that the image on the monitor is approximately the same size as the original document. Some horizontal and vertical elements of the image may not be visible in the image window. PV_ZoomToFit_Full The image will be scaled such that the entire (full) image width and height is visible in the image window. PV_ZoomToFit_Height The image will be scaled such that the entire image height is visible in the image window. Some horizontal elements of the image may not be visible in the image
window.PV_ZoomToFit_Unspecified Reserved. PV_ZoomToFit_Width The image will be scaled such that the entire image width is visible in the image window. Some vertical elements of the image may not be visible in the image window.