Method Read
Read(Stream, DocumentReadOptions, IConversionDiagnostics)
Reads a document from the stream.
public IDocWrightDocument Read(Stream input, DocumentReadOptions options, IConversionDiagnostics diagnostics)
Parameters
inputStreamThe stream to read. Read forward-only; large parts are streamed, never buffered whole.
optionsDocumentReadOptionsThe read options.
diagnosticsIConversionDiagnosticsThe diagnostics sink.
Returns
- IDocWrightDocument
The materialized document.