ImageGear for .NET
ScrollTo Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Display Namespace > ImGearPageDisplay Class : ScrollTo Method




pageView
IImGearScrollableView interface; represents .NET form to draw the image in.
positionX
New horizontal scroll position.
positionY
New vertical scroll position.

Glossary Item Box

Scrolls the image to the specified position and updates the scrollbars accordingly.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

pageView
IImGearScrollableView interface; represents .NET form to draw the image in.
positionX
New horizontal scroll position.
positionY
New vertical scroll position.

Return Value

Instance of ImGearScrollInfo structure object.

Remarks

This method can be used whether the actual scrollbar controls are visible in the Form object or not. X_Pos and Y_Pos both should be in the valid ranges that can be retrieved with GetScrollInfo method.

See Also

©2013. Accusoft Corporation. All Rights Reserved.