PrintLayoutOptions 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
| Property | Description |
|---|---|
| date | The date value of PrintLayoutOptions. |
| fileName | The fileName value of PrintLayoutOptions. |
| filePath | The filePath value of PrintLayoutOptions. |
| locale | The locale value of PrintLayoutOptions. |
| rowHeights | Optional 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: [] };