ImageGear .NET v25.0 - Updated
HandleScroll Method (ImGearPageDisplay)




ImageGear.Core Assembly > ImageGear.Display Namespace > ImGearPageDisplay Class : 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
 
Public Sub HandleScroll( _
   ByVal pageView As IImGearScrollableView, _
   ByVal scrollBarType As ImGearScrollBarType, _
   ByVal scrollValue As Integer _
) 
'Usage
 
Dim instance As ImGearPageDisplay
Dim pageView As IImGearScrollableView
Dim scrollBarType As ImGearScrollBarType
Dim scrollValue As Integer
 
instance.HandleScroll(pageView, scrollBarType, scrollValue)
public void HandleScroll( 
   IImGearScrollableView pageView,
   ImGearScrollBarType scrollBarType,
   int scrollValue
)
public: void HandleScroll( 
   IImGearScrollableView* pageView,
   ImGearScrollBarType scrollBarType,
   int scrollValue
) 
public:
void HandleScroll( 
   IImGearScrollableView^ pageView,
   ImGearScrollBarType scrollBarType,
   int 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

ImGearPageDisplay Class
ImGearPageDisplay Members
IImGearScrollableView Interface
ImGearScrollBarType Enumeration