Hi There,
We are tried to merge two word documents using code as below:
Document dstDoc = new Document(@"C:\temp\SM8-7181\Test-103.doc");
Document srcDoc = new Document(@"C:\temp\SM8-7181\Test-104.doc");
dstDoc.AppendDocument(srcDoc, ImportFormatMode.KeepSourceFormatting);
dstDoc.Save(@"C:\temp\SM8-7181\Output.doc");
However the output.doc format is different from origional documents I have attached SampleDoc.zip (178.5 KB)
Can you please have a look the sample documents and let me know why?
Thanks
Ken