Cell
Overview
Cell is a class in Aspose.Cells FOSS for TypeScript.
This class declares 8 methods for Cell objects in TypeScript programs.
Available methods include: constructor, putValue, setFormula, setHyperlink, setSharedStrings, setStyle, setStyleIndex, toXml.
Public members are accessible to any TypeScript application after installing the Aspose.Cells FOSS for TypeScript package.
Properties: col, formula, hyperlink, ref, row, sharedStringMap, and 3 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
sharedStringMap | : Map<string, number> | Read/Write | Gets or sets the shared string map. |
row | `` | Read | Gets the row. |
col | `` | Read | Gets the col. |
ref | `` | Read | Gets the ref. |
value | CellValue | Read/Write | Gets the value. |
formula | string | undefined | Read/Write | Gets the formula. |
style | Style | undefined | Read/Write | Gets the style. |
styleIndex | number | undefined | Read | Gets the style index. |
hyperlink | string | undefined | Read | Gets the hyperlink. |
Methods
| Signature | Description |
|---|---|
setSharedStrings(strings: string[]) | Sets the shared strings value. |
constructor(row: number, col: number, value: CellValue) | Calls constructor(row, col, value) on this Cell instance. |
putValue(value: CellValue) | Calls putValue(value) on this Cell instance. |
setFormula(formula: string) | Sets the formula value. |
setStyle(style: Style) | Sets the style value. |
setStyleIndex(index: number) | Sets the style index value. |
setHyperlink(url: string) | Sets the hyperlink value. |
toXml() → string | Calls toXml on this Cell instance. |