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

AutoResetScrollPosition Property






Enables or disables the automatic reset of the ScrollPosition property.
Syntax
[DescriptionAttribute("Enables or disables the automatic reset of the ScrollPosition property.")]
[CategoryAttribute("Behavior")]
public virtual bool AutoResetScrollPosition {get; set;}
'Declaration
 
<DescriptionAttribute("Enables or disables the automatic reset of the ScrollPosition property.")>
<CategoryAttribute("Behavior")>
Public Overridable Property AutoResetScrollPosition As Boolean
'Usage
 
Dim instance As RasterImageViewer
Dim value As Boolean
 
instance.AutoResetScrollPosition = value
 
value = instance.AutoResetScrollPosition
[DescriptionAttribute("Enables or disables the automatic reset of the ScrollPosition property.")]
[CategoryAttribute("Behavior")]
public virtual bool AutoResetScrollPosition {get; set;}
DescriptionAttribute("Enables or disables the automatic reset of the ScrollPosition property.")
CategoryAttribute("Behavior")
 get_AutoResetScrollPosition();
set_AutoResetScrollPosition(value);
[DescriptionAttribute("Enables or disables the automatic reset of the ScrollPosition property.")]
[CategoryAttribute("Behavior")]
public:
virtual property bool AutoResetScrollPosition {
   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 ScrollPosition property back to (0,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.