Spread Silverlight Documentation
RemoveColumnViewport Method (Worksheet)
Example 


The index of the column viewport.
Removes the column viewport.
Syntax
'Declaration
 
Public Sub RemoveColumnViewport( _
   ByVal columnViewportIndex As System.Integer _
) 
'Usage
 
Dim instance As Worksheet
Dim columnViewportIndex As System.Integer
 
instance.RemoveColumnViewport(columnViewportIndex)
public void RemoveColumnViewport( 
   System.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 button1_Click(object sender, RoutedEventArgs e)
{
gcSpreadSheet1.Sheets[0].RemoveColumnViewport(0);
}
GcSpreadSheet1.Sheets(0).AddColumnViewport(0, 250)

Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click
        GcSpreadSheet1.Sheets(0).RemoveColumnViewport(0)
    End Sub
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.