Cell

Přehled

Cell je třída v Aspose.Cells FOSS pro TypeScript.

Tato třída deklaruje 8 metod pro objekty Cell v programech TypeScript. Dostupné metody zahrnují: constructor, putValue, setFormula, setHyperlink, setSharedStrings, setStyle, setStyleIndex, toXml. Veřejné členy jsou přístupné jakékoli aplikaci TypeScript po instalaci balíčku Aspose.Cells FOSS pro TypeScript. Vlastnosti: col, formula, hyperlink, ref, row, sharedStringMap a 3 další.

Vlastnosti

Název:Typ:PřístupPopis:
sharedStringMap: Map<string, number>Čtení/zápisZíská nebo nastaví mapu sdílených řetězců.
row``ČteníZíská řádek.
col``ČteníZíská sloupec.
ref``ČteníZíská referenci.
valueCellValueČtení/zápisZíská hodnotu.
formula`stringundefined`Čtení/zápis
style`Styleundefined`Čtení/zápis
styleIndex`numberundefined`Čtení
hyperlink`stringundefined`Čtení

Metody

Podpis:Popis:
setSharedStrings(strings: string[])Nastaví hodnotu sdílených řetězců.
constructor(row: number, col: number, value: CellValue)Volá konstruktor(row, col, value) na této instanci Cell.
putValue(value: CellValue)Volá putValue(value) na této instanci Cell.
setFormula(formula: string)Nastaví hodnotu vzorce.
setStyle(style: Style)Nastaví hodnotu stylu.
setStyleIndex(index: number)Nastavuje hodnotu indexu stylu.
setHyperlink(url: string)Nastaví hodnotu hypertextového odkazu.
toXml() → stringVolá toXml na této instanci Cell.

Viz také:

 Čeština