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
pathstringThe 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
outputStreamA writable stream; it is left open.
Returns
- RedactionResult
What was removed.