Cell

Overview

Cell is a class in Aspose.Cells for NET.

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

Description

Cell is a class in the Aspose.Cells FOSS library for .NET that exposes 8 methods and 5 properties for programmatic use.

The class also provides the StringValue property (gets the cell’s value as a string representation), the DisplayStringValue property (gets the formatted string shown in the ui), the Type property (gets the enumeration indicating the cell’s value type).

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

See Also