We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

While merging the word documents, image contents in the result misaligned

Hi Team,
i have four documents need to be merged. when i’m merging getting image contents misaligned. how can i resolve it?
image alignment before merging the documents:

image alignment after merging the documents:

sample code and documents attached herepage1.docx (80.6 KB)
page2.docx (73.2 KB)
page3.docx (72.4 KB)
page4.docx (102.1 KB)

string[] fileNames = { "page1.docx", "page2.docx", "page3.docx", "page4.docx" };
var output = new Document();
ImportFormatOptions importFormatOptions = new ImportFormatOptions();
importFormatOptions.SmartStyleBehavior = true;
importFormatOptions.MergePastedLists = false;
importFormatOptions.ForceCopyStyles = true;
importFormatOptions.IgnoreHeaderFooter = true;
importFormatOptions.IgnoreTextBoxes = false;
foreach (string fileName in fileNames)

    var input = new Document(fileName);
    output.AppendDocument(input, ImportFormatMode.KeepSourceFormatting, importFormatOptions);

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-25123

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.