Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
ScaleFactor Property
See Also 
Leadtools.WinForms Namespace > RasterImageViewer Class : ScaleFactor Property



The zoom factor used to display the image.

Syntax

Visual Basic (Declaration) 
Public Overridable Property ScaleFactor As Single
Visual Basic (Usage)Copy Code
Dim instance As RasterImageViewer
Dim value As Single
 
instance.ScaleFactor = value
 
value = instance.ScaleFactor
C# 
public virtual float ScaleFactor {get; set;}
C++/CLI 
public:
virtual property float ScaleFactor {
   float get();
   void set (float value);
}

Return Value

The zoom factor used to display the image.

Remarks

This property controls the current zoom (scale factor) of the RasterImage currently selected in this RasterImageViewer.

The default value is 1.0 and means no zoom (scale factor of 100%).

Values larger than 1.0 zooms the image in, values less than 1.0 zooms the image out.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also