Hello!
I am trying to create a single document by combining multiple mail merge templates together. However, when I add a new section to the main document, it also adds white space between the two sections. Do you have any idea how I might remove that white space.
mainDoc = new Document(template1);
mainBuilder = new DocumentBuilder(mainDoc);
mainDoc.MailMerge.ExecuteWithRegions(CreateDeepCopy(mainSource));
secondDoc = new Document(template2);
mainBuilder.MoveToDocumentEnd();
mainBuilder.InsertDocument(secondDoc , ImportFormatMode.UseDestinationStyles);
No matter what I seem to try, I can’t remove the white space between mainDoc and secondDoc.