[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.IEvaluationContext

IEvaluationContext Interface

An interface which the evaluation-enabled class must derived from.

Namespace: GrapeCity.CalcEngine
Assembly: GrapeCity.CalcEngine.dll
Syntax
public interface IEvaluationContext
Public Interface IEvaluationContext

Properties

Name Description
ArrayColumnCount

Gets the total number of columns inside a formula array.

ArrayColumnOffset

Gets the column offset of the cell inside a formula array.

ArrayRowCount

Gets the total number of rows inside a formula array.

ArrayRowOffset

Gets the row offset of the cell inside a formula array.

CachingEnabled

Gets a value indicating whether calculation caching is enabled.

ContextColumn

Gets the column index of the cell whose formula is being evaluated.

ContextRow

Gets the row index of the cell whose formula is being evaluated.

Date1904

Gets whether the date system used to convert a date to a serial value starts since 1/1/1904.

Error

Gets or sets the calculation error.

ExcelDateTimeCompatible

Processing date time is compatible with Lotus123. It assumes that 1900 is not a leap year.

LanguagePackage

Gets the current language package for calculation.

ReferenceSource

Gets the reference source where the formula is being evaluated.

Methods

Name Description
AllocValue()

Allocates a new IValue object.

AllocValue(int)

Allocates multiple IValue objects.

CastToInt(double)

Casts the specified double value to int value.

CastToLong(double)

Casts the specified double value to long value.

DeallocValue()

Deallocates the last created IValue object.

DeallocValue(int)

Deallocates the last created IValue objects.

EnterContext(IReferenceSource, int, int)

Enters the specified evaluating context.

Evaluate(Expression, IValue)

Evaluates the specified expression and returns the evaluated result via result parameter.

Evaluate(IDelegate, IValue)

Evaluates the specified expression and returns the evaluated result via result parameter.

ExitContext()

Exits from the current evaluating context back to the previous evaluating context.

GetRangeCache(IReferenceSource, int, int, int, int)

Gets the range cache.

GetValue(int)

Get the IValue object at the specified index.