[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IRange.Offset

Offset Method

Offset(int, int)

Returns a IRange object that represents a translated range from the specified range.

Declaration
IRange Offset(int rowOffset = 0, int columnOffset = 0)
Function Offset(Optional rowOffset As Integer = 0, Optional columnOffset As Integer = 0) As IRange
Parameters
Type Name Description
int rowOffset

The number of rows (positive, negative, or 0 (zero)) by which the range is to be offset. Positive values are offset downward, and negative values are offset upward. The default value is 0.

int columnOffset

The number of columns (positive, negative, or 0 (zero)) by which the range is to be offset. Positive values are offset to the right, and negative values are offset to the left. The default value is 0.

Returns
Type Description
IRange

IRange.