I have two documents that I want to merge.
The second document has images and text with two columns.
After appending the second document to the first one the text is not shown with two columns anymore.
This used to work fine with the previous version we used(16.11) and now in version 19.11 it is not working anymore.
Here is the code I’m using:
Dim aw As New Aspose.Words.Document
'Load first document
aw = New Aspose.Words.Document("Anfangstext.docx")
Dim builder As New DocumentBuilder(aw)
builder.MoveToDocumentEnd()
builder.InsertBreak(BreakType.SectionBreakContinuous)
'load second document
Dim EndeText As New Document("Endetext.docx")
builder.MoveToDocumentEnd()
'Add Endetext to Anfangstext
builder.InsertDocument(EndeText, ImportFormatMode.UseDestinationStyles)
aw.Save("c:\temp\newdoc.docx")
Attached are the two documents.
Textmerge.zip (1.7 MB)