ImageGear .NET v25.2 - Updated
ImageGear.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.




In This Topic
    HandleScroll Method (IImGearPageDisplay)
    In This Topic
    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