(Leadtools.Controls)

scrollBy Method

Show in webframe





The amount by which to scroll the image horizontally.
The amount by which to scroll the image vertically.
Scrolls the image by the specified amount.
Syntax
public void scrollBy( 
   int x,
   int y
)
Public Sub scrollBy( _
   ByVal x As Integer, _
   ByVal y As Integer _
) 
public void scrollBy( 
   int x,
   int y
)

            
public void scrollBy(int x, int y)
 function Leadtools.Controls.ImageViewer.scrollBy( 
   x ,
   y 
)

Parameters

x
The amount by which to scroll the image horizontally.
y
The amount by which to scroll the image vertically.
Remarks

This method will add x and y to the current ScrollOffset. Therefore, this method will follow the same rules governing the minimum and maximum values of ScrollOffset.

ImageViewerPanZoomInteractiveMode uses this method to perform its operation.

Requirements

Target Platforms

See Also

Reference

ImageViewer Class
ImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.