public void AppendDocument()
{
//ExStart
//ExFor:Document.AppendDocument(Document, ImportFormatMode)
//ExSummary:Shows how to append a document to the end of another document.
// The document that the content will be appended to.
Document dstDoc = new Document(MyDir + "Document.doc");
// The document to append.
Document srcDoc = new Document(MyDir + "DocumentBuilder.doc");
// Append the source document to the destination document.
// Pass format mode to retain the original formatting of the source document when importing it.
dstDoc.AppendDocument(srcDoc, ImportFormatMode.KeepSourceFormatting);
// Save the document.
dstDoc.Save(MyDir + @"\Artifacts\Document.AppendDocument.doc");
//ExEnd
}