PdfMergeOptions class
Namespace: PdfNetStack
Assembly: PdfNetStack.dll
Package: PdfNetStack
Options for MergeAsync: how each input is opened and handed back, and how the merged document is saved.
public sealed record PdfMergeOptions : IEquatable<PdfMergeOptions>Inheritance
Implements
Properties
Section titled “Properties”Default
Section titled “ Default”Shared default instance.
public static PdfMergeOptions Default { get; }Property Value
Section titled “Property Value”LeaveInputsOpen
Section titled “ LeaveInputsOpen”Leave each input stream open once it is read, for the caller to dispose. Default false: each input is disposed as soon as it is read, so inputs opened as the enumeration reaches them are open one at a time.
public bool LeaveInputsOpen { get; init; }Property Value
Section titled “Property Value”LoadOptions
Section titled “ LoadOptions”Password, limits and mode for every input. Null opens each on demand with the default limits: only the objects its pages use are parsed, and an input over SpoolThreshold is copied to a temporary file deleted once its pages are merged.
public PdfLoadOptions? LoadOptions { get; init; }Property Value
Section titled “Property Value”SaveOptions
Section titled “ SaveOptions”How the merged document is saved; null for Default.
public PdfSaveOptions? SaveOptions { get; init; }