GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IRange Interface / Resize Method
The number of rows in the new range. If this argument is omitted, the number of rows in the range remains the same.
The number of columns in the new range. If this argument is omitted, the number of columns in the range remains the same.


In This Topic
Resize Method (IRange)
In This Topic
Resizes the specified range.
Syntax
'Declaration
 
Function Resize( _
   Optional ByVal rowSize As Integer, _
   Optional ByVal columnSize As Integer _
) As IRange
 
'Usage
 
Dim instance As IRange
Dim rowSize As Integer
Dim columnSize As Integer
Dim value As IRange
 
value = instance.Resize(rowSize, columnSize)

Parameters

rowSize
The number of rows in the new range. If this argument is omitted, the number of rows in the range remains the same.
columnSize
The number of columns in the new range. If this argument is omitted, the number of columns in the range remains the same.

Return Value

A IRange object that represents the resized range.
See Also