Method FromStream
- Namespace
- SoftZenPdf.Redact
- Assembly
- SoftZenPdf.Redact.dll
FromStream(Stream, string?)
Opens a PDF from a stream for redaction. The stream is read from its current position to the end and left open.
public static PdfRedactor FromStream(Stream stream, string? password = null)
Parameters
streamStreamA readable stream holding the complete PDF file.
passwordstringFor encrypted files, the user or owner password.