GrapeCity.Xaml.SpreadSheet.Data
Offset Method (CellRange)


GrapeCity.Xaml.SpreadSheet.Data Namespace > CellRange Class : Offset Method
The cell range.
The x axis offset.
The y axis offset.
Offsets the specified cell range along the specified axes.
Syntax
'Declaration
 
Public Shared Function Offset( _
   ByVal cellRange As CellRange, _
   ByVal x As Integer, _
   ByVal y As Integer _
) As CellRange
'Usage
 
Dim cellRange As CellRange
Dim x As Integer
Dim y As Integer
Dim value As CellRange
 
value = CellRange.Offset(cellRange, x, y)
public static CellRange Offset( 
   CellRange cellRange,
   int x,
   int y
)

Parameters

cellRange
The cell range.
x
The x axis offset.
y
The y axis offset.

Return Value

Returns the cell range after the offset.
See Also

Reference

CellRange Class
CellRange Members