Method Save

Namespace
SoftZenPdf.Redact
Assembly
SoftZenPdf.Redact.dll

Save(string)

Applies the redactions and saves the result to a file.

public RedactionResult Save(string path)

Parameters

path string

The redacted PDF to write. It may be the file the redactor was opened from.

Returns

RedactionResult

What was removed.

Save(Stream)

Applies the redactions and writes the result to a stream. The output is a new file, not an update of the original: earlier revisions, unused objects and encryption are not carried over, so removed content cannot be recovered from it.

public RedactionResult Save(Stream output)

Parameters

output Stream

A writable stream; it is left open.

Returns

RedactionResult

What was removed.