Class PdfSaveOptions
Options controlling how a document is written.
public sealed class PdfSaveOptions
- Inheritance
-
PdfSaveOptions
- Inherited Members
Properties
CompressUncompressedStreams
Flate-compresses streams that are stored without any filter (full saves only).
public bool CompressUncompressedStreams { get; set; }
Property Value
Incremental
Appends changes to the original file instead of rewriting it (ISO 32000-2, 7.5.6). Required to preserve existing digital signatures. Only valid for documents opened from a file.
public bool Incremental { get; set; }
Property Value
UpdateModificationDate
Sets the modification date (/ModDate, and xmp:ModifyDate / xmp:MetadataDate in existing XMP metadata) to the current time (default true). Signing and long-term validation updates never change the document information.
public bool UpdateModificationDate { get; set; }
Property Value
UpdateProducer
For documents opened from a file: appends "; modified with miPDFlib" to the producer (/Producer and pdf:Producer), or sets "miPDFlib" if there is none (default true). Set Producer yourself and disable this option for a different text.
public bool UpdateProducer { get; set; }
Property Value
UseObjectStreams
Packs non-stream objects into compressed object streams and writes a cross-reference stream (PDF 1.5+). Produces considerably smaller files. Ignored for incremental saves.
public bool UseObjectStreams { get; set; }
Property Value
Version
Overrides the PDF version written into the header, e.g. "1.7" or "2.0".
public string? Version { get; set; }