Accusoft.ImagXpress12.Net
ZoomFactor Property
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > ImageXView Class : ZoomFactor Property




Glossary Item Box

Gets and sets the zoom factor display for the current image.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Property Value

A double value which represents the zoom for the display of the image.

Remarks

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.