# RtfWordExportOptionsFluent

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

Class 

`OfficeIMO.Word.Rtf`

**Namespace**

`OfficeIMO.Word.Rtf`

**Assembly**

`OfficeIMO.Word.Rtf`

**Modifiers**

static

The fluent methods of [RtfWordExportOptions](/api/word-rtf/officeimo-word-rtf-rtfwordexportoptions/), 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
- RtfWordExportOptionsFluent

Filter members 

Show inherited

## Methods

`public static RtfWordExportOptions FailOnLoss(RtfWordExportOptions rtfWordExportOptions, bool value = true)` [#](#method-failonloss-officeimo-word-rtf-rtfwordexportoptions-boolean)

Sets [RtfWordExportOptions.FailOnLoss](/api/word-rtf/officeimo-word-rtf-rtfwordexportoptions/): Throws OfficeConversionException when the conversion reports loss.

Parameters

**rtfWordExportOptions OfficeIMO.Word.Rtf.RtfWordExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfWordExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Word.Rtf.RtfWordExportOptions { FailOnLoss = value };    rtfWordExportOptions.FailOnLoss(value);
```

`public static RtfWordExportOptions SourcePath(RtfWordExportOptions rtfWordExportOptions, string? value)` [#](#method-sourcepath-officeimo-word-rtf-rtfwordexportoptions-string)

Sets [RtfWordExportOptions.SourcePath](/api/word-rtf/officeimo-word-rtf-rtfwordexportoptions/): Source path recorded in read diagnostics when converting a parsed read result.

Parameters

**rtfWordExportOptions OfficeIMO.Word.Rtf.RtfWordExportOptions required**

The instance.

**value string? required**

The value.

Returns

`RtfWordExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Word.Rtf.RtfWordExportOptions { SourcePath = value };    rtfWordExportOptions.SourcePath(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:F7562AC5B95745803F219B7DCB09B41C16E08F9EC7E9087D4B3ED29B83BB03EC -->
