TX Sheet Control

PdfPermissions Interface

Interface

Standard PDF reader permissions. Omitted permissions are allowed; restrictions require encryption.

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

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

Members

Properties

PropertyDescription
annotatingAdd or modify annotations; PDF readers may also permit form filling when this is enabled.
assemblingInsert, rotate or delete pages and create outlines or thumbnails.
copyingCopy or extract text and graphics. Accessibility extraction is always allowed by the PDF standard.
fillingFormsFill existing interactive forms and sign existing signature fields.
modifyingModify document contents, except operations controlled by the separate permissions below.
printingNone, low resolution (reader rasterization) or unrestricted high resolution printing.

Examples

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

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

const pdfPermissions: PdfPermissions = { printing: 'none' };

See Also