Spread Silverlight Documentation
AddColumnViewport Method (Worksheet)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : AddColumnViewport Method
The index of the column viewport.
The width of the viewport.
Adds the column viewport.
Syntax
'Declaration
 
Public Sub AddColumnViewport( _
   ByVal columnViewportIndex As System.Integer, _
   ByVal viewportWidth As System.Double _
) 
'Usage
 
Dim instance As Worksheet
Dim columnViewportIndex As System.Integer
Dim viewportWidth As System.Double
 
instance.AddColumnViewport(columnViewportIndex, viewportWidth)
public void AddColumnViewport( 
   System.int columnViewportIndex,
   System.double viewportWidth
)

Parameters

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

Reference

Worksheet Class
Worksheet Members