←Select platform

scrollBy Method

Summary

Scrolls the image by the specified amount.

Syntax

C#
VB
Java
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) 

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

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

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)