Accusoft.ImagXpress12.Net
ZoomToFit Method
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > ImageXView Class : ZoomToFit Method




zoomToFitType
A ZoomToFitType option.

Glossary Item Box

Zoom the image display to fit within the ImageXView control.

Syntax

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

Parameters

zoomToFitType
A ZoomToFitType option.

Remarks

This is a one time zoom unlike some of the AutoResize property settings which will repeatedly set the ZoomFactor. In fact, the AutoResize property has precedence over the ZoomToFit method and not the other way around. Calling the ZoomToFit method with ZoomToFitType.FitHeight when the AutoResize property is set to AutoResizeType.FitWidth will do absolutely nothing. Therefore it is best to use this method when the AutoResize property is set to AutoResizeType.CropImage or AutoResizeType.CropImageToControl.

See Also

©2013. Accusoft Corporation. All Rights Reserved.