LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

AutoResetScaleFactor Property






Enables or disables the automatic reset of the ScaleFactor property.
Syntax
[DescriptionAttribute("Enables or disables the automatic reset of the ScaleFactor property.")]
[CategoryAttribute("Behavior")]
public virtual bool AutoResetScaleFactor {get; set;}
'Declaration
 
<DescriptionAttribute("Enables or disables the automatic reset of the ScaleFactor property.")>
<CategoryAttribute("Behavior")>
Public Overridable Property AutoResetScaleFactor As Boolean
'Usage
 
Dim instance As RasterImageViewer
Dim value As Boolean
 
instance.AutoResetScaleFactor = value
 
value = instance.AutoResetScaleFactor
[DescriptionAttribute("Enables or disables the automatic reset of the ScaleFactor property.")]
[CategoryAttribute("Behavior")]
public virtual bool AutoResetScaleFactor {get; set;}
DescriptionAttribute("Enables or disables the automatic reset of the ScaleFactor property.")
CategoryAttribute("Behavior")
 get_AutoResetScaleFactor();
set_AutoResetScaleFactor(value);
[DescriptionAttribute("Enables or disables the automatic reset of the ScaleFactor property.")]
[CategoryAttribute("Behavior")]
public:
virtual property bool AutoResetScaleFactor {
   bool get();
   void set (    bool value);
}

Property Value

true to enable automatic reset, false to disable it.
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.
Example
Refer to RasterImageViewer.
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

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

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