Back to Devexpress

IWorkbook.Calculate(CellRange) Method

officefileapi-devexpress-dot-spreadsheet-dot-iworkbook-dot-calculate-x28-devexpress-dot-spreadsheet-dot-cellrange-x29.md

latest1.8 KB
Original Source

IWorkbook.Calculate(CellRange) Method

Forces recalculation of the specified cell range in a worksheet.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void Calculate(
    CellRange range
)
vb
Sub Calculate(
    range As CellRange
)

Parameters

NameTypeDescription
rangeCellRange

A CellRange object containing formulas to be recalculated.

|

Remarks

The Calculate method calculates all cells contained in the specified range. If the CalculationOptions.Iterative option is enabled and the DocumentOptions.CalculationEngineType property is set to CalculationEngineType.ChainBased, the dependency tree is not constructed and the cells are calculated from left to right, top to bottom.

See Also

Calculation Process

IWorkbook Interface

IWorkbook Members

DevExpress.Spreadsheet Namespace