←Select platform

CurrentScaleFactor Property

Summary

Gets or sets the current scale factor for the image display.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public virtual double CurrentScaleFactor {get;} 
Public Overridable ReadOnly Property CurrentScaleFactor As Double 
public virtual double CurrentScaleFactor {get;} 
@property (nonatomic, assign, readonly) double currentScaleFactor 
public float getCurrentScaleFactor() 
 get_CurrentScaleFactor();  

Property Value

The value of CurrentScaleFactor is the maximum of CurrentXScaleFactor and CurrentYScaleFactor. These two values are always the same except when SizeMode is set to ImageViewerSizeMode.Stretch.

For more information, refer to ScaleFactor.

Example

For an example, refer to ScaleFactor.

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)