RowBuilder
Overview
RowBuilder is a class in Aspose.PDF FOSS for TypeScript.
One row: an ordered list of cells plus an optional row-level style.
This class declares 3 methods for RowBuilder objects in TypeScript programs.
Available methods include: addCell, constructor, setMinHeight.
All public members are accessible to any TypeScript application after installing the Aspose.PDF FOSS for TypeScript package.
Properties: cells, minHeight.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
cells | : CellBuilder[] | Read | Gets the cells. |
minHeight | number | Read | Gets the min height. |
Methods
| Signature | Description |
|---|---|
constructor(style: CellTextOptions, minHeight) | @internal Use {@link TableBuilder.addRow}. |
setMinHeight(n: number) → this | Set this row’s height floor in points: the row lays out at max(n, content height), so content that needs more still wins. |
addCell(text: string | TextRun[], opts: CellOptions) → CellBuilder | Append a cell. |