Accusoft.ImagXpressSdk Namespace > ImageXView Class : ZoomToFit Method |
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.