ImageGear .NET v24.12 - Updated
HandleScroll Method (IImGearPageDisplay)




ImageGear24.Core Assembly > ImageGear.Display Namespace > IImGearPageDisplay Interface : HandleScroll Method
IImGearScrollableView interface, represents .NET Form to draw image in.
Type of scrolling event: horizontal or vertical. Possible values are: ImGearScrollBarType.HORIZONTAL and ImGearScrollBarType.VERTICAL.
Scroll value. Specifies new scrolling position.
Handles scrolling events.
Syntax
'Declaration
 
Sub HandleScroll( _
   ByVal pageView As IImGearScrollableView, _
   ByVal scrollBarType As ImGearScrollBarType, _
   ByVal scrollValue As Integer _
) 
'Usage
 
Dim instance As IImGearPageDisplay
Dim pageView As IImGearScrollableView
Dim scrollBarType As ImGearScrollBarType
Dim scrollValue As Integer
 
instance.HandleScroll(pageView, scrollBarType, scrollValue)

Parameters

pageView
IImGearScrollableView interface, represents .NET Form to draw image in.
scrollBarType
Type of scrolling event: horizontal or vertical. Possible values are: ImGearScrollBarType.HORIZONTAL and ImGearScrollBarType.VERTICAL.
scrollValue
Scroll value. Specifies new scrolling position.
Remarks
Use this method only to handle scrolling events. To scroll image to particular position, use ScrollTo method instead.
See Also

Reference

IImGearPageDisplay Interface
IImGearPageDisplay Members
IImGearScrollableView Interface
ImGearScrollBarType Enumeration