# RtfDocumentMergeOptions

Controls whether appended content uses the destination layout or retains its source sections.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfDocumentMergeOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfDocumentMergeOptions.cs#L6)

**Modifiers**

sealed

Controls whether appended content uses the destination layout or retains its source sections.

## Inheritance

- object
- RtfDocumentMergeOptions

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [RtfDocument.AppendDocument](/api/rtf/officeimo-rtf-rtfdocument/#method-appenddocument-officeimo-rtf-rtfdocument-officeimo-rtf-rtfdocumentmergeoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public RtfDocumentMergeOptions()` [#](#constructor-ctor)

## 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?`

## Properties

`public bool PreserveSections { get; set; }` [#](#property-preservesections)

[RtfDocumentMergeOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfDocumentMergeOptions.cs#L6)

Imports source sections, page setup, and header/footer stories. The default appends content into the destination layout.

<!-- PowerForge markdown artifact sha256:ACDA469490E3B44A0F9B8FC6139F19932BCCE709A742487C318DE3224386F070 -->
