←Select platform

AutoResetScrollPosition Property

Summary

Enables or disables the automatic reset of the ScrollPosition property.

Syntax

C#
VB
C++
public virtual bool AutoResetScrollPosition { get; set; } 
Public Overridable Property AutoResetScrollPosition As Boolean 
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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly