TX Sheet Control

PrintLayoutOptions Interface

Interface

Print context and optional measured row heights used to produce deterministic page breaks.

Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.

Type-only declaration; it is not a JavaScript runtime constructor.

Members

Properties

PropertyDescription
dateThe date value of PrintLayoutOptions.
fileNameThe fileName value of PrintLayoutOptions.
filePathThe filePath value of PrintLayoutOptions.
localeThe locale value of PrintLayoutOptions.
rowHeightsOptional font-measured unscaled row heights for headless renderers. Browser controls use their measured geometry.

Examples

Configure PrintLayoutOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

import type { PrintLayoutOptions } from '@txtextcontrol/tx-sheet-control';

const printLayoutSettings: PrintLayoutOptions = { rowHeights: [] };

See Also