# RtfDocumentMergeOptionsFluent

The fluent methods of RtfDocumentMergeOptions, 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 [RtfDocumentMergeOptions](/api/rtf/officeimo-rtf-rtfdocumentmergeoptions/), 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
- RtfDocumentMergeOptionsFluent

Filter members 

Show inherited

## Methods

`public static RtfDocumentMergeOptions PreserveSections(RtfDocumentMergeOptions rtfDocumentMergeOptions, bool value = true)` [#](#method-preservesections-officeimo-rtf-rtfdocumentmergeoptions-boolean)

Sets [RtfDocumentMergeOptions.PreserveSections](/api/rtf/officeimo-rtf-rtfdocumentmergeoptions/): Imports source sections, page setup, and header/footer stories. The default appends content into the destination layout.

Parameters

**rtfDocumentMergeOptions OfficeIMO.Rtf.RtfDocumentMergeOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`RtfDocumentMergeOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentMergeOptions { PreserveSections = value };    rtfDocumentMergeOptions.PreserveSections(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:8A3D3B7EF7E75D89FA19B350E5B2FFFBBC26928A8E2D08CC3EA40D52D9ED9B47 -->
