SaveOptions

Overview

SaveOptions is a class in Aspose.PDF FOSS for TypeScript. Inherits from: SerializeOptions.

Options for Save/WriteTo.

Properties: compressed, encrypt, linearized, streamFilter.

Properties

NameTypeAccessDescription
compressed: booleanReadEmit a cross-reference stream + compressed object streams (ObjStm) instead of a classic xref table.
encrypt: EncryptOptions | PubSecEncryptOptionsReadEncrypt the output: password-based standard handler ({@link EncryptOptions}) or certificate-based PubSec ({@link PubSecEncryptOptions}).
linearized: booleanReadEmit a linearized (“Fast Web View”) layout (classic xref, plaintext only).
streamFilter: StreamFilterNameReadRe-encode eligible data streams with this byte-filter on Save.