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

NameTypeAccessDescription
dropPageKeys: Set<string>ReadPage-dict keys removed from the emitted page object entirely.

Methods

SignatureDescription
sanitizeAnnots(doc: Document, annots: PdfArray)PdfArraySanitize the /Annots array; return a new array (resolved annotation dicts).