Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

WordDocumentReaderExtensions

Namespace OfficeIMO.Reader.Word
Assembly OfficeIMO.Reader.Word
Source revision a0f47aa4f111 with working tree changes
Modifiers static

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) #
Returns: OfficeDocumentReadResult

Reads text, structures and requested inspection evidence from an already loaded document.

Parameters

document OfficeIMO.Word.WordDocument requiredposition: 0
Caller-owned model, which remains open after projection.
sourceName System.String? = null optionalposition: 1
Logical citation name; omitted names use document.docx. No source file is reopened.
options OfficeIMO.Reader.ReaderOptions? = null optionalposition: 2
Snapshotted projection and output budgets. The default projection is Full.
formatOptions OfficeIMO.Reader.Word.ReaderWordOptions? = null optionalposition: 3
Snapshotted Word projection policy.
cancellationToken System.Threading.CancellationToken = default optionalposition: 4
Cancellation for this projection.