Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
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.

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);
}
XAML Attributes Usage 

<object ScaleFactor=double .../>

Dependencies Property Information 

Identifier field

ScaleFactorProperty

Metadata properties set to true

AffectsRender

XAML Attributes Usage 

<object ScaleFactor=double .../>

Dependencies Property Information 

Identifier field

ScaleFactorProperty

Metadata properties set to true

AffectsRender

Return Value

The zoom factor used to display the magnified image.

Example

For XAML example, refer to Shape.

For C#/VB examples, refer to Shape.

Remarks

In WPF Express, default is 2.0

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also