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.Controls Assembly > Leadtools.Controls Namespace > ImageViewerCenterAtInteractiveMode Class : ScaleFactor Property |
public virtual double ScaleFactor {get; set;}
'Declaration
Public Overridable Property ScaleFactor As Double
Use the value of ScaleFactor to performing zooming of the image around the center point when the user taps on the viewer as follows:
If the value of ScaleFactor is 1 (the default value), then no zooming is performed.
If the value of ScaleFactor is greater than 1, then this value is multiplied by the current viewer scale factor (ImageViewer.ScaleFactor) to zoom the image in around the center point.
If the value of ScaleFactor is less than 1, then this value is multiplied by the current viewer scale factor (ImageViewer.ScaleFactor) to zoom the image out around the center point.