PrunePolicy
Overview
PrunePolicy is a interface in Aspose.PDF FOSS for TypeScript.
This interface declares 1 method for PrunePolicy objects in TypeScript programs.
Available methods include: sanitizeAnnots.
All public members are accessible to any TypeScript application after installing the Aspose.PDF FOSS for TypeScript package.
Properties: dropPageKeys.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
dropPageKeys | : Set<string> | Read | Page-dict keys removed from the emitted page object entirely. |
Methods
| Signature | Description |
|---|---|
sanitizeAnnots(doc: Document, annots: PdfArray) → PdfArray | Sanitize the /Annots array; return a new array (resolved annotation dicts). |