Spread WPF 16
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / SetActiveViewport Method
The index of the row viewport.
The index of the column viewport.
Example


In This Topic
    SetActiveViewport Method (Worksheet)
    In This Topic
    Sets the active viewport.
    Syntax
    'Declaration
     
    Public Sub SetActiveViewport( _
       ByVal rowViewportIndex As Integer, _
       ByVal columnViewportIndex As Integer _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim rowViewportIndex As Integer
    Dim columnViewportIndex As Integer
     
    instance.SetActiveViewport(rowViewportIndex, columnViewportIndex)
    public void SetActiveViewport( 
       int rowViewportIndex,
       int columnViewportIndex
    )

    Parameters

    rowViewportIndex
    The index of the row viewport.
    columnViewportIndex
    The index of the column viewport.
    Example
    This example uses the SetActiveViewport method.
    See Also