←Select platform

ScrollByRestrict Method

Summary

Scrolls the viewer by the specified amount in pixels while always restricting the value to the current minimum and maximum allowed.

Syntax

C#
VB
C++
public virtual void ScrollByRestrict( 
   LeadPoint point 
) 
Public Overridable Sub ScrollByRestrict( 
   ByVal point As LeadPoint 
) 
public:  
   virtual void ScrollByRestrict( 
      LeadPoint^ point 
   ) 

Parameters

point

The amount by which to scroll the viewer.

Remarks

ScrollByRestrict will restrict scrolling between 0,0 and MaximumScrollSize regardless of the value of RestrictScroll. Internally, the viewer will call RestrictScrollOffset on the result of adding point to current scroll offset before setting that into ScrollOffset.

Requirements

Target Platforms

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

Leadtools.Controls.WinForms Assembly