RenderOptions Interface
Validated worker print context, page selection, font assets and formula-error policy.
Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
| Property | Description |
|---|---|
| allowFormulaErrors | The allowFormulaErrors value of RenderOptions. |
| author | The author value of RenderOptions. |
| compress | Lossless Flate compression where supported, enabled by default. |
| creator | The creator value of RenderOptions. |
| currency | The currency value of RenderOptions. |
| date | The date value of RenderOptions. |
| decorativeFigures | IDs or cell-picture addresses intentionally treated as decorative artifacts. |
| documentProperties | The documentProperties value of RenderOptions. |
| dpi | The dpi value of RenderOptions. |
| figureDescriptions | Author-provided descriptions keyed by drawing/chart ID or cell-picture address. |
| fileName | The fileName value of RenderOptions. |
| filePath | The filePath value of RenderOptions. |
| fonts | The fonts value of RenderOptions. |
| headerRows | Number of leading rows in the print area that are column headers; native Excel table headers are automatic. |
| keywords | The keywords value of RenderOptions. |
| language | BCP 47 document language. Workbook exports derive it from the print locale when omitted. |
| locale | The locale value of RenderOptions. |
| pageLayout | The pageLayout value of RenderOptions. |
| pageMode | The pageMode value of RenderOptions. |
| pageNumbers | The pageNumbers value of RenderOptions. |
| pdfUa | Requests PDF/UA-1 metadata and strict checks for language, title, headers, alternatives and glyphs. |
| rowHeaderColumns | Number of leading columns in the print area that are row headers. |
| security | The security value of RenderOptions. |
| sheetId | The sheetId value of RenderOptions. |
| subject | The subject value of RenderOptions. |
| tagged | Emits logical document tags by default. Set false only for an explicitly untagged PDF. |
| timeZone | The timeZone value of RenderOptions. |
| title | The title value of RenderOptions. |
| viewerPreferences | The viewerPreferences value of RenderOptions. |
Examples
Configure RenderOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.
import type { RenderOptions } from '@txtextcontrol/tx-sheet-control-server';
const renderSettings: RenderOptions = { dpi: 144 };
See Also
Dashboard PDF Settings
| Property | Description |
|---|---|
| dashboardId | Selects the dashboard to export instead of worksheet pages. Do not combine it with a worksheet sheetId. |
| dashboardWidth | Sets the dashboard canvas width in CSS pixels, from 480 to 4096. The default width is 1440. |
| dashboardPage | Uses one dashboard-sized page in fit mode, or paginates with the workbook paper size and printable area in print mode. |