Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / IsCellInView Method
Index of viewport row
Index of viewport column
Index of row in that viewport
Index of column in that viewport


In This Topic
    IsCellInView Method
    In This Topic
    Returns whether the cell at the specified location is visible in the specified view.
    Syntax
    'Declaration
     
    
    Public Function IsCellInView( _
       ByVal rowViewportIndex As Integer, _
       ByVal columnViewportIndex As Integer, _
       ByVal cellRowIndex As Integer, _
       ByVal cellColumnIndex As Integer _
    ) As Boolean
    'Usage
     
    
    Dim instance As FpSpread
    Dim rowViewportIndex As Integer
    Dim columnViewportIndex As Integer
    Dim cellRowIndex As Integer
    Dim cellColumnIndex As Integer
    Dim value As Boolean
     
    value = instance.IsCellInView(rowViewportIndex, columnViewportIndex, cellRowIndex, cellColumnIndex)

    Parameters

    rowViewportIndex
    Index of viewport row
    columnViewportIndex
    Index of viewport column
    cellRowIndex
    Index of row in that viewport
    cellColumnIndex
    Index of column in that viewport

    Return Value

    true if the cell with specified indexes is visible; false otherwise
    See Also