Spread WPF 17
GrapeCity.CalcEngine.Expressions Namespace / CalcRangeExpression 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.


In This Topic
    Offset(Int32,Int32,Int32,Int32,Boolean,Boolean) Method
    In This Topic
    Get a new expression with specific offset.
    Syntax
    'Declaration
     
    Public Overloads Overridable 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 CalcRangeExpression
    'Usage
     
    Dim instance As CalcRangeExpression
    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 CalcRangeExpression
     
    value = instance.Offset(row, column, endRow, endColumn, offsetAbsolute, offsetRelative)
    public virtual CalcRangeExpression 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