Spread WPF 17
GrapeCity.Excel Namespace / ExcelWorksheet Class / GetColumn Method
The zero-based index of the column.
If set to true. It will create the column if the column is null at the specified index when the index is in the valid range


In This Topic
    GetColumn Method (ExcelWorksheet)
    In This Topic
    Gets the column at the specified column index
    Syntax
    'Declaration
     
    Public Function GetColumn( _
       ByVal index As Integer, _
       Optional ByVal create As Boolean _
    ) As IExcelColumn
    'Usage
     
    Dim instance As ExcelWorksheet
    Dim index As Integer
    Dim create As Boolean
    Dim value As IExcelColumn
     
    value = instance.GetColumn(index, create)
    public IExcelColumn GetColumn( 
       int index,
       bool create
    )

    Parameters

    index
    The zero-based index of the column.
    create
    If set to true. It will create the column if the column is null at the specified index when the index is in the valid range

    Return Value

    An IExcelColumn instance represent the column at the specified index
    See Also