Spread WPF Documentation
RemoveRowViewport Method (Worksheet)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : RemoveRowViewport Method
The index of the row viewport.
Removes the row viewport.
Syntax
'Declaration
 
Public Sub RemoveRowViewport( _
   ByVal rowViewportIndex As System.Integer _
) 
'Usage
 
Dim instance As Worksheet
Dim rowViewportIndex As System.Integer
 
instance.RemoveRowViewport(rowViewportIndex)
public void RemoveRowViewport( 
   System.int rowViewportIndex
)

Parameters

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

private void button1_Click(object sender, RoutedEventArgs e)
        {
            gcSpreadSheet1.Sheets[0].RemoveRowViewport(0);
        }
GcSpreadSheet1.Sheets(0).AddRowViewport(0, 200)
 
Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click
GcSpreadSheet1.Sheets(0).RemoveRowViewport(0)
End Sub
See Also

Reference

Worksheet Class
Worksheet Members