Accusoft.ImagXpressSdk Namespace > ImageXView Class : ZoomFactor Property |
The default value is 1.
Values greater than 1 result in the display image being enlarged. For example, a ZoomFactor = 2 doubles the display image height and width.
Values less than 1 result in the display image being reduced. For example, a ZoomFactor = .5 reduces the display image height and width by 50.
Zooming has no effect on the stored image, the aspect ratio of the displayed image, or the aspect ratio of the image's pixels.
Note: If the AutoResize property is set to BestFit, FitWidth, FitHeight or ResizeImage, then the ZoomFactor property is read-only. In the case that the property is set to ResizeImage then the ZoomFactor will always return a -1.0 as there is no uniform ZoomFactor applied to the image.