TX Sheet Control

PdfDocumentOptions Interface

Interface

API-only document metadata, reader preferences, compression and security shared by every PDF export entry point.

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 PdfDocumentOptions.
compressLossless Flate compression where supported, enabled by default.
creatorThe creator value of PdfDocumentOptions.
documentPropertiesThe documentProperties value of PdfDocumentOptions.
keywordsThe keywords value of PdfDocumentOptions.
languageBCP 47 document language. Workbook exports derive it from the print locale when omitted.
pageLayoutThe pageLayout value of PdfDocumentOptions.
pageModeThe pageMode value of PdfDocumentOptions.
pdfUaRequests PDF/UA-1 metadata and strict checks for language, title, headers, alternatives and glyphs.
securityThe security value of PdfDocumentOptions.
subjectThe subject value of PdfDocumentOptions.
taggedEmits logical document tags by default. Set false only for an explicitly untagged PDF.
viewerPreferencesThe viewerPreferences value of PdfDocumentOptions.

Examples

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

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

const pdfDocumentSettings: PdfDocumentOptions = { author: 'Alpine Design', compress: true };

See Also