TX Sheet Control

PdfExportOptions Interface

Interface

PDF uses the shared page scenes, vector graphics and embedded fonts. Paper size is independent of DPI.

Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.

Type-only declaration; it is not a JavaScript runtime constructor.

Members

Properties

PropertyDescription
authorThe author value of PdfExportOptions.
compressLossless Flate compression where supported, enabled by default.
creatorThe creator value of PdfExportOptions.
dateThe date value of PdfExportOptions.
decorativeFiguresIDs or cell-picture addresses intentionally treated as decorative artifacts.
documentPropertiesThe documentProperties value of PdfExportOptions.
dpiThe dpi value of PdfExportOptions.
figureDescriptionsAuthor-provided descriptions keyed by drawing/chart ID or cell-picture address.
fileNameThe fileName value of PdfExportOptions.
filePathThe filePath value of PdfExportOptions.
headerRowsNumber of leading rows in the print area that are column headers; native Excel table headers are automatic.
keywordsThe keywords value of PdfExportOptions.
languageBCP 47 document language. Workbook exports derive it from the print locale when omitted.
localeThe locale value of PdfExportOptions.
pageLayoutThe pageLayout value of PdfExportOptions.
pageModeThe pageMode value of PdfExportOptions.
pageNumbers1-based print page numbers, exported in print order.
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.
rowHeightsOptional font-measured unscaled row heights for headless renderers. Browser controls use their measured geometry.
securityThe security value of PdfExportOptions.
sheetIdThe sheetId value of PdfExportOptions.
signalThe signal value of PdfExportOptions.
subjectThe subject value of PdfExportOptions.
taggedEmits logical document tags by default. Set false only for an explicitly untagged PDF.
timeZoneThe timeZone value of PdfExportOptions.
titleThe title value of PdfExportOptions.
viewerPreferencesThe viewerPreferences value of PdfExportOptions.

Examples

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

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

const pdfExportSettings: PdfExportOptions = { timeZone: 'UTC', title: 'Invoice', locale: 'de-DE', compress: true };

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.