←Select platform

AutoResetScrollPosition Property

Summary

Enables or disables the automatic reset of the ScrollPosition property.

Syntax

C#
VB
C++
[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")> 
Public Overridable Property AutoResetScrollPosition As Boolean 
[DescriptionAttribute("Enables or disables the automatic reset of the ScrollPosition property.")] 
[CategoryAttribute("Behavior")] 
public: 
virtual property bool AutoResetScrollPosition { 
   bool get(); 
   void set (    bool ); 
} 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.WinForms Assembly
Click or drag to resize