Free Support Forum - aspose.com

Formatting when merging 2 docx

Hi,

I have a general question, when merging 2 docxs .

words.Document doc = new words.Document();
doc.RemoveAllChildren();
doc.AppendDocument(docBytes, words.ImportFormatMode.KeepSourceFormatting);

What is the difference between using ‘KeepSourceFormatting’ and ’ UseDestinationStyles’ ?

@shireesha

Thanks for your inquiry. The answer of your query is explained in the following article. Please read it.
Differences between ImportFormat Modes