Spread WPF 18
GrapeCity.Spreadsheet Namespace / IWorksheet Interface / InsertColumns Method
An integer value indicates the column index at which to insert new columns.
An integer value indicates the number of rows to insert.


In This Topic
    InsertColumns Method
    In This Topic
    Inserts column(s) to the Worksheet at the specified position.
    Syntax
    'Declaration
     
    Function InsertColumns( _
       ByVal column As Integer, _
       ByVal count As Integer _
    ) As ActionResult(Of Object)
    'Usage
     
    Dim instance As IWorksheet
    Dim column As Integer
    Dim count As Integer
    Dim value As ActionResult(Of Object)
     
    value = instance.InsertColumns(column, count)
    ActionResult<object> InsertColumns( 
       int column,
       int count
    )

    Parameters

    column
    An integer value indicates the column index at which to insert new columns.
    count
    An integer value indicates the number of rows to insert.

    Return Value

    true if the columns are inserted successful, false otherwise.
    See Also