Spread WPF 17
GrapeCity.CalcEngine.Expressions Namespace / CalcSharedExpression Class / Offset Method
the row offset
the column offset
true if offset the absolute indexes.
true if offset the relative indexes.


In This Topic
    Offset Method (CalcSharedExpression)
    In This Topic
    Get a new expression with specific offset.
    Syntax
    'Declaration
     
    Public 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 CalcSharedExpression
    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