Leadtools.Silverlight3.Controls Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ScaleFactor Property
See Also 
Leadtools.Silverlight3.Controls Namespace > ImageViewer Class : ScaleFactor Property





The zoom factor used to display the image.

Syntax

Visual Basic (Declaration) 
Public Property ScaleFactor As Double
Visual Basic (Usage)Copy Code
Dim instance As ImageViewer
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

XAML Attributes Usage 

<object ScaleFactor=double .../>

Dependencies Property Information 

Identifier field

ScaleFactorProperty

Return Value

The zoom factor used to display the image.

Remarks

You can get and set this property when the SizeMode property is PaintSizeMode.Normal.
When SizeMode is set to PaintSizeMode.Stretch, the zoom factor is the smallest of the Width or Height zoom factors (the aspect ratio is not preserved).

Requirements

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

See Also

ScaleFactor requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features