Thanks for your patience. It is to inform you that the issue which you are facing is actually not a bug in Aspose.Words. So, we have closed this issue (WORDSNET-14610) as 'Not a Bug'.
Documents with two pages (20161213183229700.docx and 20161213183230620.docx) have tables which end at the bottom margin. In addition, body of the document has paragraph which located after the table and this paragraph is placed on the next page. Paragraph has size 1 point and is not shown in MS Word, but it causes empty pages in the end of these documents. So these documents have last blank page until content is not added to the end.
Please use option ImportFormatMode.KeepSourceFormatting to preserve formatting from source documents. Also page breaks have to be added to the last paragraph of the 20161213183229700.docx and 20161213183230620.docx to get the desired output. Please use the following code example.
ArrayList ArrFilesSequence = new ArrayList();
string SoursePath = MyDir;
Document doc = new Document();
// We should call this method to clear this document of
any existing content.
for (int i = 0; i < ArrFilesSequence.Count; i++)
// Open the document to join.
Document srcDoc = new Document(Path.Combine(SoursePath,
// Append page breaks for last two
if (i > 1)
Run pageBreakRun = new Run(srcDoc, ControlChar.PageBreak);
// Append the source document at the
end of the destination document.
doc.Save(MyDir + "Out v17.1.0.docx");