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

NameTypeAccessDescription
cells: CellBuilder[]ReadGets the cells.
minHeightnumberReadGets the min height.

Methods

SignatureDescription
constructor(style: CellTextOptions, minHeight)@internal Use {@link TableBuilder.addRow}.
setMinHeight(n: number)thisSet 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)CellBuilderAppend a cell.