# RtfReadResultReaderExtensions

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

Class 

`OfficeIMO.Reader.Rtf`

**Namespace**

`OfficeIMO.Reader.Rtf`

**Assembly**

`OfficeIMO.Reader.Rtf`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[RtfReadResultReaderExtensions.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Reader.Rtf/RtfReadResultReaderExtensions.cs#L13)

**Modifiers**

static

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

## Inheritance

- object
- RtfReadResultReaderExtensions

Filter members 

Show inherited

## Methods

`public static OfficeDocumentReadResult ReadDocument(RtfReadResult readResult, string? sourceName = null, ReaderOptions? options = null, ReaderRtfOptions? formatOptions = null, CancellationToken cancellationToken = default)` [#](#method-readdocument-officeimo-rtf-rtfreadresult-string-officeimo-reader-readeroptions-officeimo-reader-rtf-readerrtfoptions-threading-cancellationtoken)

[RtfReadResultReaderExtensions.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Reader.Rtf/RtfReadResultReaderExtensions.cs#L13)

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

Parameters

**readResult OfficeIMO.Rtf.RtfReadResult required**

**sourceName string? = null optional**

**options OfficeIMO.Reader.ReaderOptions? = null optional**

**formatOptions OfficeIMO.Reader.Rtf.ReaderRtfOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`OfficeDocumentReadResult`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:56741249ECED2DE136E0C8898620FBE7C1E453664E0D29DD1A322AE57431530D -->
