The table data as a 2D array of cell contents.
The widths of each column in the table.
The default font for table content.
The default font size for table content.
The default line height for table content.
Indicates whether the table has a header row.
The font for the header row.
The font size for the header row.
The line height for the header row.
The horizontal margin for wrapping text in cells.
The vertical margin for cells.
The margin for the border of the table.
Optional
tableTitle: stringThe optional title of the table.
Optional
tableTitleTextSize: numberThe optional font size for the table title.
Optional
overrideHeights: number[]Optional array of heights to override the calculated row heights.
Generated using TypeDoc
Calculates the total height of a table and the height of each row. If overrideHeights are provided, it uses them to calculate the total height instead.
Returns
An object containing the total height of the table and an array of heights for each row.