Enum MergeFormatMode

Enum MergeFormatMode

Namespace: Aspose.Words.LowCode
Assembly: Aspose.Words.dll (25.2.0)

Specifies how formatting is merged when combining multiple documents.

public enum MergeFormatMode

Fields

KeepSourceFormatting = 1

Means that the source document will retain its original formatting, such as font styles, sizes, colors, indents, and any other formatting elements applied to its content.

By using this option, you ensure that the copied content appears as it did in the original source, regardless of the formatting settings of the first document in merge queue.

This option does not have any affect when the input and the output formats are PDF.

KeepSourceLayout = 2

Preserve the layout of the original documents in the final document.

In general, it looks like you print out the original documents and manually adhere them together using glue.

MergeFormatting = 0

Combine the formatting of the merged documents.

By using this option, Aspose.Words adapts the formatting of the first document to match the structure and appearance of the second document, but keeps some of the original formatting intact. This option is useful when you want to maintain the overall look and feel of the destination document but still retain certain formatting aspects from the original document.

This option does not have any affect when the input and the output formats are PDF.

 English