Class
WordDocumentReaderExtensions
OfficeIMO.Reader.Word
Projects caller-owned Word models through the canonical Reader adapter.
Inheritance
- object
- WordDocumentReaderExtensions
Methods
public static OfficeDocumentReadResult ReadDocument(WordDocument document, string? sourceName = null, ReaderOptions? options = null, ReaderWordOptions? formatOptions = null, CancellationToken cancellationToken = default) #Reads text, structures and requested inspection evidence from an already loaded document.
Parameters
- document OfficeIMO.Word.WordDocument
- Caller-owned model, which remains open after projection.
- sourceName string? = null
- Logical citation name; omitted names use document.docx. No source file is reopened.
- options OfficeIMO.Reader.ReaderOptions? = null
- Snapshotted projection and output budgets. The default projection is Full.
- formatOptions OfficeIMO.Reader.Word.ReaderWordOptions? = null
- Snapshotted Word projection policy.
- cancellationToken System.Threading.CancellationToken = default
- Cancellation for this projection.
Returns
OfficeDocumentReadResult