Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / 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 (Worksheet)
    In This Topic
    Inserts column(s) to the Worksheet at the specified position.
    Syntax
    'Declaration
     
    
    Public Function InsertColumns( _
       ByVal column As Integer, _
       ByVal count As Integer _
    ) As ActionResult(Of Object)
    'Usage
     
    
    Dim instance As Worksheet
    Dim column As Integer
    Dim count As Integer
    Dim value As ActionResult(Of Object)
     
    value = instance.InsertColumns(column, count)
    public 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