TX Sheet Control

RenderOptions Interface

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

PropertyDescription
allowFormulaErrorsThe allowFormulaErrors value of RenderOptions.
authorThe author value of RenderOptions.
compressLossless Flate compression where supported, enabled by default.
creatorThe creator value of RenderOptions.
currencyThe currency value of RenderOptions.
dateThe date value of RenderOptions.
decorativeFiguresIDs or cell-picture addresses intentionally treated as decorative artifacts.
documentPropertiesThe documentProperties value of RenderOptions.
dpiThe dpi value of RenderOptions.
figureDescriptionsAuthor-provided descriptions keyed by drawing/chart ID or cell-picture address.
fileNameThe fileName value of RenderOptions.
filePathThe filePath value of RenderOptions.
fontsThe fonts value of RenderOptions.
headerRowsNumber of leading rows in the print area that are column headers; native Excel table headers are automatic.
keywordsThe keywords value of RenderOptions.
languageBCP 47 document language. Workbook exports derive it from the print locale when omitted.
localeThe locale value of RenderOptions.
pageLayoutThe pageLayout value of RenderOptions.
pageModeThe pageMode value of RenderOptions.
pageNumbersThe pageNumbers value of RenderOptions.
pdfUaRequests PDF/UA-1 metadata and strict checks for language, title, headers, alternatives and glyphs.
rowHeaderColumnsNumber of leading columns in the print area that are row headers.
securityThe security value of RenderOptions.
sheetIdThe sheetId value of RenderOptions.
subjectThe subject value of RenderOptions.
taggedEmits logical document tags by default. Set false only for an explicitly untagged PDF.
timeZoneThe timeZone value of RenderOptions.
titleThe title value of RenderOptions.
viewerPreferencesThe 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

PropertyDescription
dashboardIdSelects the dashboard to export instead of worksheet pages. Do not combine it with a worksheet sheetId.
dashboardWidthSets the dashboard canvas width in CSS pixels, from 480 to 4096. The default width is 1440.
dashboardPageUses one dashboard-sized page in fit mode, or paginates with the workbook paper size and printable area in print mode.