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




ImageGear24.Presentation Assembly > ImageGear.Display Namespace > ImGearPresentationPageDisplay 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 ImGearPresentationPageDisplay
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

ImGearPresentationPageDisplay Class
ImGearPresentationPageDisplay Members
IImGearScrollableView Interface
ImGearScrollBarType Enumeration