Cell
Overview
Cell is a class in Aspose.Cells for NET.
Cell.PutValue sets the cell’s value to the given string.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Value | object? | Read/Write | Gets or sets the raw value of the cell as an object |
StringValue | string | Read | Gets the cell’s value as a string representation |
DisplayStringValue | string | Read | Gets the formatted string shown in the UI |
Formula | string | Read/Write | Gets or sets the cell’s formula expression |
Type | CellValueType | Read | Gets the enumeration indicating the cell’s value type |
Methods
| Signature | Description |
|---|---|
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 |