Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadView Class / GetViewportRectangle Method
Viewport row index


In This Topic
    GetViewportRectangle Method (SpreadView)
    In This Topic
    Gets the rectangle of the viewport.
    Syntax
    'Declaration
     
    
    Public Function GetViewportRectangle( _
       ByVal rowViewportIndex As Integer, _
       ByVal columnViewportIndex As Integer, _
       Optional ByVal includeGrayArea As Boolean _
    ) As Rectangle
    'Usage
     
    
    Dim instance As SpreadView
    Dim rowViewportIndex As Integer
    Dim columnViewportIndex As Integer
    Dim includeGrayArea As Boolean
    Dim value As Rectangle
     
    value = instance.GetViewportRectangle(rowViewportIndex, columnViewportIndex, includeGrayArea)

    Parameters

    rowViewportIndex
    Viewport row index
    columnViewportIndex
    includeGrayArea

    Return Value

    Rectangle of the viewport.
    See Also