Spread WinRT Documentation
GrapeCity.Xaml.SpreadSheet.Data Namespace / Worksheet Class / AddRowViewport Method
The index of the row viewport.
The height of the viewport.
Example


In This Topic
    AddRowViewport Method (Worksheet)
    In This Topic
    Adds the row viewport.
    Syntax
    'Declaration
     
    Public Sub AddRowViewport( _
       ByVal rowViewportIndex As Integer, _
       ByVal viewportHeight As Double _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim rowViewportIndex As Integer
    Dim viewportHeight As Double
     
    instance.AddRowViewport(rowViewportIndex, viewportHeight)
    public void AddRowViewport( 
       int rowViewportIndex,
       double viewportHeight
    )

    Parameters

    rowViewportIndex
    The index of the row viewport.
    viewportHeight
    The height of the viewport.
    Example
    This example uses the AddRowViewport method.
    gcSpreadSheet1.Sheets[0].AddRowViewport(0, 200);
    GcSpreadSheet1.Sheets(0).AddRowViewport(0, 200)
    See Also