←Select platform

ScaleFactor Property (ImageViewer)

Summary

Value of the scale factor for the view display.

Syntax

C#
VB
C++
public double ScaleFactor { get; } 
Public ReadOnly Property ScaleFactor() As Double 
   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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls.WinForms Assembly
Click or drag to resize