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



Enables or disables the automatic reset of the ScaleFactor property.

Syntax

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

Return Value

true to enable automatic reset, false to disable it.

Example

For an example, refer to AutoResetScrollPosition.

Remarks

When set to true, this will automatically reset the ScaleFactor property back to 1.0 when a new image is set to the viewer.

Requirements

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

See Also