Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

RtfReadResultReaderExtensions

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

Projects caller-owned RTF read results through the canonical Reader adapter.

Inheritance

  • Object
  • RtfReadResultReaderExtensions

Methods

public static OfficeDocumentReadResult ReadDocument(RtfReadResult readResult, String? sourceName = null, ReaderOptions? options = null, ReaderRtfOptions? formatOptions = null, CancellationToken cancellationToken = default) #
Returns: OfficeDocumentReadResult

Reads a loaded RTF result into the shared document envelope, retaining original parser diagnostics.

Parameters

readResult OfficeIMO.Rtf.RtfReadResult requiredposition: 0
sourceName System.String? = null optionalposition: 1
options OfficeIMO.Reader.ReaderOptions? = null optionalposition: 2
formatOptions OfficeIMO.Reader.Rtf.ReaderRtfOptions? = null optionalposition: 3
cancellationToken System.Threading.CancellationToken = default optionalposition: 4