←Select platform

ScaleFactor Property

Summary

Factor used to zoom the image in the viewer around the point.

Syntax
C#
C++/CLI
public virtual double ScaleFactor { get; set; } 
public:  
   virtual property double ScaleFactor 
   { 
      double get() 
      void set(double value) 
   } 

Property Value

The scale factor used to display the magnified image. Must be a value greater than 0. The default value is 2 (zoom in twice).

Remarks

Use the value of ScaleFactor to performing zooming of the image around the 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 (Leadtools.Controls.ImageViewer.ScaleFactor) to zoom the image in around the point

  • If the value of ScaleFactor is less than 1, then this value is multiplied by the current viewer scale factor (Leadtools.Controls.ImageViewer.ScaleFactor) to zoom the image out around the point

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.