Skip to main content

MergePdfNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform

Configuration for MergePdf@1. Concatenates several PDFs (given as an array of base64 strings at , in order) into one PDF written as base64 to . Used to prepend a generated cover sheet to an original document.

public record MergePdfNodeConfiguration : SourceTargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<MergePdfNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → SourceTargetPathNodeConfiguration → MergePdfNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<MergePdfNodeConfiguration>

Properties​

FailOnInvalidPdf​

When true, a PDF that cannot be imported (encrypted, corrupt or an unsupported version) aborts the node. When false (default) the offending entry is skipped with a warning and the remaining PDFs are merged — so a broken original never silently loses the whole package.

public bool FailOnInvalidPdf { get; set; }

Property Value​

Boolean

ContentLengthTargetPath​

Optional path to write the merged PDF's byte length to (as a long), for feeding a following CreateFileSystemUpdate@1.

public string ContentLengthTargetPath { get; set; }

Property Value​

String

OutputAsScratchFile​

When true, the merged PDF is written to the per-execution scratch space and receives a small ScratchFileReference (scratchFileToken + length) instead of a base64 string. This keeps large merged PDFs off the JSON data context / LOH — the downstream CreateZipArchive@1 reads the entry by streaming from the scratch file. Falls back to base64 when no scratch space is available. Default false.

public bool OutputAsScratchFile { get; set; }

Property Value​

Boolean

Path​

public string Path { get; set; }

Property Value​

String

TargetPath​

public string TargetPath { get; set; }

Property Value​

String

TargetValueWriteMode​

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value​

TargetValueWriteModes

TargetValueKind​

public ValueKinds TargetValueKind { get; set; }

Property Value​

ValueKinds

DocumentMode​

public DocumentModes DocumentMode { get; set; }

Property Value​

DocumentModes

Description​

public string Description { get; set; }

Property Value​

String

Constructors​

MergePdfNodeConfiguration()​

public MergePdfNodeConfiguration()