ImportFormatMode

ImportFormatMode

Overview

ImportFormatMode is an enum in Aspose.Words FOSS for .NET.

Specifies how formatting is merged when importing content from another document.

This enumeration defines 3 values: UseDestinationStyles, KeepSourceFormatting, KeepDifferentStyles.

Values

ValueDescription
UseDestinationStylesUse the destination document styles and copy new styles.
KeepSourceFormattingCopy all required styles to the destination document, generate unique style names if needed.
KeepDifferentStylesOnly copy styles that are different from those in the source document.

See Also

 English