Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents.UI Namespace > DocumentViewerView Class : ZoomRatio Property |
public virtual double ZoomRatio {get; set;}
'Declaration
Public Overridable Property ZoomRatio As Double
'Usage
Dim instance As DocumentViewerView Dim value As Double instance.ZoomRatio = value value = instance.ZoomRatio
This value is used when the ViewZoomIn or ViewZoomOut are run. Change the value if the default of 120 percent is not suitable for your application.
The document viewer will invoke the following when zooming in or out:
imageViewer.Zoom(ControlSizeMode.None, value, imageViewer.DefaultZoomOrigin)
Where value is imageViewer.ScaleFactor * ZoomRatio when zooming in and imageViewer.ScaleFactor / ZoomRatio when zooming out.