Cell

Overview

Cell is a class in Aspose.Cells for NET.

Cell.PutValue sets the cell’s value to the given string.

Properties

NameTypeAccessDescription
Valueobject?Read/WriteGets or sets the raw value of the cell as an object
StringValuestringReadGets the cell’s value as a string representation
DisplayStringValuestringReadGets the formatted string shown in the UI
FormulastringRead/WriteGets or sets the cell’s formula expression
TypeCellValueTypeReadGets the enumeration indicating the cell’s value type

Methods

SignatureDescription
PutValue(value: string)Sets the cell’s value to the given string
PutValue(value: int)
PutValue(value: decimal)
PutValue(value: double)
PutValue(value: bool)
PutValue(value: DateTime)
GetStyle()Returns the cell’s current style object
SetStyle(style: Style)Applies the specified style to the cell