Cell

Cell

Przegląd

Cell jest klasą w Aspose.Cells FOSS dla TypeScript.

Ta klasa deklaruje 8 metod dla obiektów Cell w programach TypeScript. Dostępne metody to: constructor, putValue, setFormula, setHyperlink, setSharedStrings, setStyle, setStyleIndex, toXml. Członkowie publiczni są dostępni dla każdej aplikacji TypeScript po zainstalowaniu pakietu Aspose.Cells FOSS dla TypeScript. Właściwości: col, formula, hyperlink, ref, row, sharedStringMap oraz 3 dodatkowe.

Właściwości

NazwaTypDostępOpis
sharedStringMap: Map<string, number>Odczyt/zapisPobiera lub ustawia mapę współdzielonych ciągów.
row``OdczytPobiera wiersz.
col``OdczytZwraca kolumnę.
ref``OdczytPobiera referencję.
valueCellValueOdczyt/zapisPobiera wartość.
formula`stringundefined`Odczyt/zapis
style`Styleundefined`Odczyt/zapis
styleIndex`numberundefined`Odczyt
hyperlink`stringundefined`Odczyt

Metody

SygnaturaOpis
setSharedStrings(strings: string[])Ustawia wartość współdzielonych ciągów.
constructor(row: number, col: number, value: CellValue)Wywołuje konstruktor(row, col, value) na tej instancji klasy Cell.
putValue(value: CellValue)Wywołuje putValue(value) na tej instancji klasy Cell.
setFormula(formula: string)Ustawia wartość formuły.
setStyle(style: Style)Ustawia wartość stylu.
setStyleIndex(index: number)Ustawia wartość indeksu stylu.
setHyperlink(url: string)Ustawia wartość hiperłącza.
toXml() → stringWywołuje metodę toXml na tej instancji Cell.

Zobacz także

 Polski