Accusoft ImagXpress 13
ZoomToFit Method
An enumZoomFit value which determines the type of zoom fit to perform.
Description
Zoom factor to fit current image within the ImagXpress control.
Syntax
Visual Basic
Public Sub ZoomToFit( _
   ByVal ZoomFitType As enumZoomFit _
) 
Parameters
ZoomFitType
ValueDescription
ZOOMFIT_BESTFit such that the entire image appears within the control.
ZOOMFIT_HEIGHTFit to the height of the control.
ZOOMFIT_WIDTHFit to the width of the control.
An enumZoomFit value which determines the type of zoom fit to perform.
Remarks

Upon successful completion of this method, the ZoomFactor property will be set to the zoom factor resulting from the ZoomToFit method.

The AutoSize property has precedence over the ZoomToFit method and not the other way around. Calling the ZoomToFit method with ZOOMFIT_HEIGHT when the AutoSize property is set to ISIZE_FitWidth will do absolutely nothing. Therefore it is best to use this method when the AutoSize property is ISIZE_CropImage or ISIZE_CropImageToControl.

See Also

ImagXpress Object  | ImagXpress Members  | ZoomFactor Property  | AutoSize Property  | Viewing

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback