# RtfLoadOptionsFluent

The fluent methods of RtfLoadOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Modifiers**

static

The fluent methods of [RtfLoadOptions](/api/rtf/officeimo-rtf-rtfloadoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- RtfLoadOptionsFluent

Filter members 

Show inherited

## Methods

`public static RtfLoadOptions DeferBinaryPayloads(RtfLoadOptions rtfLoadOptions, bool value = true)` [#](#method-deferbinarypayloads-officeimo-rtf-rtfloadoptions-boolean)

Sets [RtfLoadOptions.DeferBinaryPayloads](/api/rtf/officeimo-rtf-rtfloadoptions/): Retains binary source slices and defers picture/object byte materialization until explicit native access or save. Default: false.

Parameters

**rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { DeferBinaryPayloads = value };    rtfLoadOptions.DeferBinaryPayloads(value);
```

`public static RtfLoadOptions HyperlinkPolicy(RtfLoadOptions rtfLoadOptions, RtfHyperlinkReadPolicy value)` [#](#method-hyperlinkpolicy-officeimo-rtf-rtfloadoptions-officeimo-rtf-rtfhyperlinkreadpolicy)

Sets [RtfLoadOptions.HyperlinkPolicy](/api/rtf/officeimo-rtf-rtfloadoptions/): Controls hyperlink field targets materialized in the semantic model.

Parameters

**rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions required**

The instance.

**value OfficeIMO.Rtf.RtfHyperlinkReadPolicy required**

The value.

Returns

`RtfLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { HyperlinkPolicy = value };    rtfLoadOptions.HyperlinkPolicy(value);
```

Limits 2 overloads

`public static RtfLoadOptions Limits(RtfLoadOptions rtfLoadOptions, RtfReadLimits value)` [#](#method-limits-officeimo-rtf-rtfloadoptions-officeimo-rtf-rtfreadlimits)

Sets [RtfLoadOptions.Limits](/api/rtf/officeimo-rtf-rtfloadoptions/): Resource budgets applied by the tokenizer, syntax parser and semantic binder.

Parameters

**rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions required**

The instance.

**value OfficeIMO.Rtf.RtfReadLimits required**

The value.

Returns

`RtfLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { Limits = value };    rtfLoadOptions.Limits(value);
```

`public static RtfLoadOptions Limits(RtfLoadOptions rtfLoadOptions, Action<RtfReadLimits> configure)` [#](#method-limits-officeimo-rtf-rtfloadoptions-action-officeimo-rtf-rtfreadlimits)

Configures [RtfLoadOptions.Limits](/api/rtf/officeimo-rtf-rtfloadoptions/) in place (creating it when not set): Resource budgets applied by the tokenizer, syntax parser and semantic binder.

Parameters

**rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions required**

The instance.

**configure System.Action<OfficeIMO.Rtf.RtfReadLimits> required**

Configures the value.

Returns

`RtfLoadOptions` The same instance.

`public static RtfLoadOptions ReadEmbeddedObjects(RtfLoadOptions rtfLoadOptions, bool value = true)` [#](#method-readembeddedobjects-officeimo-rtf-rtfloadoptions-boolean)

Sets [RtfLoadOptions.ReadEmbeddedObjects](/api/rtf/officeimo-rtf-rtfloadoptions/): Whether OLE object destinations are materialized in the semantic model.

Parameters

**rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { ReadEmbeddedObjects = value };    rtfLoadOptions.ReadEmbeddedObjects(value);
```

`public static RtfLoadOptions ReadFileReferences(RtfLoadOptions rtfLoadOptions, bool value = true)` [#](#method-readfilereferences-officeimo-rtf-rtfloadoptions-boolean)

Sets [RtfLoadOptions.ReadFileReferences](/api/rtf/officeimo-rtf-rtfloadoptions/): Whether file-table destinations are materialized in the semantic model.

Parameters

**rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { ReadFileReferences = value };    rtfLoadOptions.ReadFileReferences(value);
```

`public static RtfLoadOptions WarnOnUnsupportedCodePages(RtfLoadOptions rtfLoadOptions, bool value = true)` [#](#method-warnonunsupportedcodepages-officeimo-rtf-rtfloadoptions-boolean)

Sets [RtfLoadOptions.WarnOnUnsupportedCodePages](/api/rtf/officeimo-rtf-rtfloadoptions/): Whether unsupported ANSI code pages should produce warning diagnostics before falling back to Windows-1252.

Parameters

**rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { WarnOnUnsupportedCodePages = value };    rtfLoadOptions.WarnOnUnsupportedCodePages(value);
```

`public static RtfLoadOptions WarnOnUnsupportedDestinations(RtfLoadOptions rtfLoadOptions, bool value = true)` [#](#method-warnonunsupporteddestinations-officeimo-rtf-rtfloadoptions-boolean)

Sets [RtfLoadOptions.WarnOnUnsupportedDestinations](/api/rtf/officeimo-rtf-rtfloadoptions/): Whether unsupported destinations should produce warning diagnostics.

Parameters

**rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { WarnOnUnsupportedDestinations = value };    rtfLoadOptions.WarnOnUnsupportedDestinations(value);
```

## 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:6A5F74C15948DCE1137CB3325BEDA9E85E46083BDA5C1B47692D7880DB8D9C75 -->
