Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
ScaleFactor Property
See Also 
Leadtools.Web.Controls Namespace > TiledImageViewer Class : ScaleFactor Property




Gets or sets the zoom factor used to display the image.

Syntax

Visual Basic (Declaration) 
Public Property ScaleFactor As Integer
Visual Basic (Usage)Copy Code
Dim instance As TiledImageViewer
Dim value As Integer
 
instance.ScaleFactor = value
 
value = instance.ScaleFactor
C# 
public int ScaleFactor {get; set;}
Managed Extensions for C++ 
public: __property int get_ScaleFactor();
public: __property void set_ScaleFactor( 
   int value
);
C++/CLI 
public:
property int ScaleFactor {
   int get();
   void set (int value);
}

Return Value

Zoom factor used to display the image.

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

Example

Remarks

You can get and set this property when the 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also