Class CalculationCell

Class CalculationCell

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

Represents the calculation relevant data about one cell which is being calculated.

public class CalculationCell

Inheritance

objectCalculationCell

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Remarks

All objects provided by this class are for “read” purpose only. User should not change any data in the Workbook during the formula calculation process, Otherwise unexpected result or Exception may be caused.

Properties

Cell

Gets the Cell object which is being calculated.

public Cell Cell { get; }

Property Value

Cell

CellColumn

Gets the column index of the cell.

public int CellColumn { get; }

Property Value

int

CellRow

Gets the row index of the cell.

public int CellRow { get; }

Property Value

int

Workbook

Gets the Workbook object.

public Workbook Workbook { get; }

Property Value

Workbook

Worksheet

Gets the Worksheet object where the cell is in.

public Worksheet Worksheet { get; }

Property Value

Worksheet

Methods

SetCalculatedValue(object)

Sets the calculated value for the cell.

public void SetCalculatedValue(object v)

Parameters

v object

Remarks

User can set the calculated result by this method to ignore the automatic calculation for the cell.