Spread WPF 17
GrapeCity.CalcEngine.Expressions Namespace / CalcRangeExpression Class / Offset Method / Offset(Int32,Int32,Boolean,Boolean) Method
the row offset
the column offset
true if offset the absolute indexes.
true if offset the relative indexes.


In This Topic
    Offset(Int32,Int32,Boolean,Boolean) Method
    In This Topic
    Get a new expression with specific offset.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Offset( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       Optional ByVal offsetAbsolute As Boolean, _
       Optional ByVal offsetRelative As Boolean _
    ) As CalcExpression
    'Usage
     
    Dim instance As CalcRangeExpression
    Dim row As Integer
    Dim column As Integer
    Dim offsetAbsolute As Boolean
    Dim offsetRelative As Boolean
    Dim value As CalcExpression
     
    value = instance.Offset(row, column, offsetAbsolute, offsetRelative)
    public override CalcExpression Offset( 
       int row,
       int column,
       bool offsetAbsolute,
       bool offsetRelative
    )

    Parameters

    row
    the row offset
    column
    the 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