# PrintLayoutOptions Interface

> PrintLayoutOptions interface in the browser TypeScript API: Print context and optional measured row heights used to produce deterministic page breaks.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > PrintLayoutOptions Interface
- **394 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/llms-full.txt

---

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](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/date-property/llms-full.txt) | The date value of PrintLayoutOptions. |
| [fileName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/filename-property/llms-full.txt) | The fileName value of PrintLayoutOptions. |
| [filePath](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/filepath-property/llms-full.txt) | The filePath value of PrintLayoutOptions. |
| [locale](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/locale-property/llms-full.txt) | The locale value of PrintLayoutOptions. |
| [rowHeights](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/rowheights-property/llms-full.txt) | 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.

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

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

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Exporting Worksheets to PDF](https://docs.textcontrol.com/tx-sheet-control/pdf/export/llms-full.txt)

---

## In This Section

- [PrintLayoutOptions.date Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/date-property/llms-full.txt): PrintLayoutOptions.date property in the TX Sheet Control TypeScript API for the browser, with its type string | Date | undefined and a TypeScript example.
- [PrintLayoutOptions.fileName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/filename-property/llms-full.txt): PrintLayoutOptions.fileName property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [PrintLayoutOptions.filePath Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/filepath-property/llms-full.txt): PrintLayoutOptions.filePath property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [PrintLayoutOptions.locale Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/locale-property/llms-full.txt): PrintLayoutOptions.locale property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [PrintLayoutOptions.rowHeights Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/rowheights-property/llms-full.txt): PrintLayoutOptions.rowHeights property in the browser TypeScript API: Optional font-measured unscaled row heights for headless renderers.

---

## Nearby

- **Previous:** [PrintLayout.version Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayout/version-property/llms-full.txt)
- **Next:** [PrintLayoutOptions.date Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/printlayoutoptions/date-property/llms-full.txt)
