Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.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;}
Managed Extensions for C++ 
public: __property double get_ScaleFactor();
public: __property void set_ScaleFactor( 
   double value
);
C++/CLI 
public:
property double ScaleFactor {
   double get();
   void set (double value);
}
XAML Attributes Usage 

<object ScaleFactor=double .../>

Dependency 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