Aspose::Cells::CalculationCell class

CalculationCell class

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

class CalculationCell

Methods

MethodDescription
CalculationCell(CalculationCell_Impl* impl)Constructs from an implementation object.
CalculationCell(const CalculationCell& src)Copy constructor.
GetCell()Gets the Cell object which is being calculated.
GetCellColumn()Gets the column index of the cell.
GetCellRow()Gets the row index of the cell.
GetWorkbook()Gets the Workbook object.
GetWorksheet()Gets the Worksheet object where the cell is in.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const CalculationCell& src)operator=
SetCalculatedValue(const Aspose::Cells::Object& v)Sets the calculated value for the cell.
~CalculationCell()Destructor.

Fields

FieldDescription
_implThe implementation object.

Remarks

User should not change any data in the Workbook during the formula calculation process, otherwise unexpected result or Exception may be caused. So, all objects provided by this class(such as the Cell object of CalculationCell.Cell) are for “read” purpose only.

See Also