[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.ITable.Resize

Resize Method

Resize(int, int, int)

Resizes the boundary of this table over a new range. No cells are inserted or moved.

Declaration
bool Resize(int column, int column2, int rowCount = -1)
Function Resize(column As Integer, column2 As Integer, Optional rowCount As Integer = -1) As Boolean
Parameters
Type Name Description
int column

An integer value indicates the new worksheet left column index.

int column2

An integer value indicates the new worksheet right column index.

int rowCount

An integer value indicates the new table row count. Default value is -1 that indicates the row count remained.

Returns
Type Description
bool

true if the table is resized successful, false otherwise.

Resize(string)

Resizes the boundary of this table over a new range. No cells are inserted or moved.

Declaration
bool Resize(string range)
Function Resize(range As String) As Boolean
Parameters
Type Name Description
string range

The new range of the table.

Returns
Type Description
bool

true if the table is resized successful, false otherwise.

Resize(IRange)

Resizes the boundary of this table over a new range. No cells are inserted or moved.

Declaration
bool Resize(IRange range)
Function Resize(range As IRange) As Boolean
Parameters
Type Name Description
IRange range

The new range of the table.

Returns
Type Description
bool

true if the table is resized successful, false otherwise.