Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Table Class / Resize(Int32,Int32,Int32,Boolean) Method
An integer value indicates the new worksheet left column index.
An integer value indicates the new worksheet right column index.
An integer value indicates the new table row count. -1 means no row count changed.
if set to true, all settings, which's fitted to table column, will be expanded automatically.


In This Topic
    Resize(Int32,Int32,Int32,Boolean) Method
    In This Topic
    Resizes the boundary of this table over a new range. No cells are inserted or moved.
    Syntax
    'Declaration
     
    
    Public Function Resize( _
       ByVal column As Integer, _
       ByVal column2 As Integer, _
       Optional ByVal rowCount As Integer, _
       Optional ByVal autoExpand As Boolean _
    ) As ActionResult(Of Table)
    'Usage
     
    
    Dim instance As Table
    Dim column As Integer
    Dim column2 As Integer
    Dim rowCount As Integer
    Dim autoExpand As Boolean
    Dim value As ActionResult(Of Table)
     
    value = instance.Resize(column, column2, rowCount, autoExpand)

    Parameters

    column
    An integer value indicates the new worksheet left column index.
    column2
    An integer value indicates the new worksheet right column index.
    rowCount
    An integer value indicates the new table row count. -1 means no row count changed.
    autoExpand
    if set to true, all settings, which's fitted to table column, will be expanded automatically.

    Return Value

    true if the table is resized successful, false otherwise.
    See Also