I am using A.Words to create a word document with merge fields. The final document is created perfectly as expected, but we also have a preview function. This preview will save the byte-doc as a bitmap. The whole contents of the document displays, but the collation sequence of the document sections are in wrong order (The document contains text boxes for each "paragraph" in the doc).
I've attached two images in a .zip, one of the finished document and one of the preview.
Here is how we do:
MemoryStream ms = new MemoryStream(template.Document);
Document doc = new Document(ms);
doc.MailMerge.Execute(fieldNames, fieldValues);//Maybe this is causing the error?
Any suggestions would be appreciated.