Spread WinRT Documentation
GrapeCity.Xaml.SpreadSheet.Data Namespace / Worksheet Class / AddColumnViewport Method
The index of the column viewport.
The width of the viewport.
Example


In This Topic
    AddColumnViewport Method (Worksheet)
    In This Topic
    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