LEADTOOLS WebForms and AJAX (Leadtools.Web assembly)
LEAD Technologies, Inc

ScaleFactor Property






Gets or sets the zoom factor used to display the image.
Syntax
public double ScaleFactor {get; set;}
'Declaration
 
Public Property ScaleFactor As Double
'Usage
 
Dim instance As WebImageViewer
Dim value As Double
 
instance.ScaleFactor = value
 
value = instance.ScaleFactor
public double ScaleFactor {get; set;}
 get_ScaleFactor();
set_ScaleFactor(value);
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).

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.

Example
Refer to OpenImageUrl(String)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WebImageViewer Class
WebImageViewer Members
WebImageViewer Client Class

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.