HtmlTable

HtmlTable

Panoramica

HtmlTable è una classe in Aspose.Cells FOSS per TypeScript.

Questa classe dichiara 10 metodi per oggetti HtmlTable nei programmi TypeScript. I metodi disponibili includono: addHeader, addRow, constructor, getCellStyle, mergeTables, parse, parseAll, setCssClasses, toHtml, toWorksheet. I membri pubblici sono accessibili a qualsiasi applicazione TypeScript dopo l’installazione del pacchetto Aspose.Cells FOSS per TypeScript. Proprietà: caption, colWidths, color, cols, count, headers, e altre 6.

Proprietà

NomeTipoAccessoDescrizione
cols: numberLetturaOttiene i cols.
count: numberLetturaOttiene il conteggio.
height: numberLetturaOttiene l’altezza.
caption`stringundefined`Lettura
headersstring[]LetturaOttiene le intestazioni.
rowsstring[][]LetturaOttiene le righe.
colWidthsnumber[]LetturaOttiene le larghezze delle colonne.
rowHeightsnumber[]LetturaOttiene le altezze delle righe.
hiddenRowsboolean[]LetturaOttiene le righe nascoste.
picturesPictureInfo[]LetturaOttiene le immagini.
style: stringLetturaOttiene lo stile.
color: stringLetturaOttiene il colore.
style: stringLetturaOttiene lo stile.
color: stringLetturaOttiene il colore.

Metodi

FirmaDescrizione
constructor(caption: string)Chiama il costruttore(caption) su questa istanza di HtmlTable.
setCssClasses(classes: Map<string, CellStyle>)Imposta il valore delle classi css.
getCellStyle(row: number, col: number) → `CellStyleundefined`
addHeader(header: string)Chiama addHeader(header) su questa istanza HtmlTable.
addRow(row: string[])Chiama addRow(row) su questa istanza HtmlTable.
parseAll(html: string, cssClasses: Map<string, CellStyle>) → HtmlTable[]Chiama parseAll(html, cssClasses) su questa istanza HtmlTable.
toWorksheet(worksheet: Worksheet, options: HtmlParseOptions)Chiamate a toWorksheet(worksheet, options) su questa istanza di HtmlTable.
parse(html: string, cssClasses: Map<string, CellStyle>) → HtmlTableChiamate a parse(html, cssClasses) su questa istanza di HtmlTable.
mergeTables(tables: HtmlTable[]) → HtmlTableChiamate a mergeTables(tables) su questa istanza di HtmlTable.
toHtml(options: HtmlSaveOptions) → stringChiamate a toHtml(options) su questa istanza di HtmlTable.

Vedi anche

 Italiano