TX Sheet Control

ServerPdfOptions Interface

Interface

Server PDF export settings with a worksheet handle or stable worksheet identity.

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

Examples

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

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

const serverPdfSettings: ServerPdfOptions = { date: '2026-10-20T00:00:00Z' };

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.