←Select platform

ScaleFactor Property

Summary

Value of the scale factor for the view display.

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

Property Value

The value of the scale factor. Default value is 1.0.

Remarks

This value is calculated by UpdateTransform based on the value passed to the last call to Zoom.

ScaleFactor is the maximum of the actual horizontal and vertical values stored in XScaleFactor and YScaleFactor. If Zoom is called with any ControlSizeMode other than ControlSizeMode.Stretch than the horizontal and vertical scale factors will be the same.

Requirements

Target Platforms

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

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