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


GrapeCity.Xaml.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 Integer, _
   ByVal viewportWidth As Double _
) 
'Usage
 
Dim instance As Worksheet
Dim columnViewportIndex As Integer
Dim viewportWidth As Double
 
instance.AddColumnViewport(columnViewportIndex, viewportWidth)
public void AddColumnViewport( 
   int columnViewportIndex,
   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