GrapeCity.Xaml.CalcEngine
Offset(Int32,Int32,Int32,Int32,Boolean,Boolean) Method


GrapeCity.CalcEngine.Expressions Namespace > CalcSheetRangeExpression Class > Offset Method : Offset(Int32,Int32,Int32,Int32,Boolean,Boolean) Method
the row offset
the column offset
the end row offset
the end column offset
true if offset the absolute indexes.
true if offset the relative indexes.
Get a new expression with specific offset.
Syntax
'Declaration
 
Public Overloads Function Offset( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal endRow As Integer, _
   ByVal endColumn As Integer, _
   Optional ByVal offsetAbsolute As Boolean, _
   Optional ByVal offsetRelative As Boolean _
) As CalcSheetRangeExpression
'Usage
 
Dim instance As CalcSheetRangeExpression
Dim row As Integer
Dim column As Integer
Dim endRow As Integer
Dim endColumn As Integer
Dim offsetAbsolute As Boolean
Dim offsetRelative As Boolean
Dim value As CalcSheetRangeExpression
 
value = instance.Offset(row, column, endRow, endColumn, offsetAbsolute, offsetRelative)
public CalcSheetRangeExpression Offset( 
   int row,
   int column,
   int endRow,
   int endColumn,
   bool offsetAbsolute,
   bool offsetRelative
)

Parameters

row
the row offset
column
the column offset
endRow
the end row offset
endColumn
the end column offset
offsetAbsolute
true if offset the absolute indexes.
offsetRelative
true if offset the relative indexes.

Return Value

Return a CalcExpression which offset from current expression.
See Also

Reference

CalcSheetRangeExpression Class
CalcSheetRangeExpression Members
Overload List