Error processing SSI file
LEADTOOLS Leadtools.Documents.UI (Leadtools.Documents.UI assembly)

Show in webframe

ZoomRatio Property






Ratio to use when zooming the view in or out.
Syntax
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
public:
virtual property double ZoomRatio {
   double get();
   void set (    double value);
}

Property Value

The ratio to use when zooming the view in or out. Default value is 1.2 (120 percent). Must be a value greater than 0.
Remarks

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.

Requirements

Target Platforms

See Also

Reference

DocumentViewerView Class
DocumentViewerView Members

Error processing SSI file
Leadtools.Documents.UI requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features