GrapeCity.Xaml.SpreadSheet.Data
RemoveColumnViewport Method (Worksheet)
Example 


The index of the column viewport.
Removes the column viewport.
Syntax
'Declaration
 
Public Sub RemoveColumnViewport( _
   ByVal columnViewportIndex As Integer _
) 
'Usage
 
Dim instance As Worksheet
Dim columnViewportIndex As Integer
 
instance.RemoveColumnViewport(columnViewportIndex)
public void RemoveColumnViewport( 
   int columnViewportIndex
)

Parameters

columnViewportIndex
The index of the column viewport.
Example
This example uses the RemoveColumnViewport method.
gcSpreadSheet1.Sheets[0].AddColumnViewport(0, 250);

private void Button_Click_1(object sender, RoutedEventArgs e)
{
gcSpreadSheet1.Sheets[0].RemoveColumnViewport(0);
}
GcSpreadSheet1.Sheets(0).AddColumnViewport(0, 250)

Private Sub Button_Click_1(sender As Object, e As RoutedEventArgs)
        GcSpreadSheet1.Sheets(0).RemoveColumnViewport(0)
    End Sub
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options