LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ScaleFactor Property
See Also 
Leadtools.Web.Controls Namespace > WebImageViewer Class : ScaleFactor Property



Gets or sets 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 WebImageViewer
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

Zoom factor used to display the image.

1 means displaying the image at the original width or height (1:1).

Example

Remarks

You can get and set this property when the WebImageViewer.SizeMode property is Normal.

This property is read only when the SizeMode property is set to any other value.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also