LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ScaleFactor Property
See Also 
Leadtools.Windows.Controls Namespace > MagnifyGlass Class : ScaleFactor Property



Gets or sets the zoom factor used to display the magnified image. This is a dependency property. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property ScaleFactor As Double
Visual Basic (Usage)Copy Code
Dim instance As MagnifyGlass
Dim value As Double
 
instance.ScaleFactor = value
 
value = instance.ScaleFactor
C# 
public double ScaleFactor {get; set;}
C++/CLI 
public:
property double ScaleFactor {
   double get();
   void set (    double value);
}

Property Value

The zoom factor used to display the magnified image. Default value is 2.0 for 200 percent scaling.

Example

For XAML example, refer to MagnifyGlass.

For C#/VB examples, refer to MagnifyGlass.

Remarks

In WPF Express, default is 2.0

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also