Hi Support,
I did some changes on the template and it's working now.
Thank you so much for your help.
Anyway, another question is, i'm using MailMerge.RemoveEmptyParagraphs method on print to word feature and it works perfectly.
My question is, how to use it if i want to print the document to pdf?
My code:
Dim document As New WordDocument
document = New WordDocument("..\x.doc")
document.MailMerge.RemoveEmptyParagraphs = True
document.MailMerge.ExecuteNestedGroup(SetPrintTable(), SetPrintCommand())
document.Save("x.doc")
Dim converter As DocToPDFConverter = New DocToPDFConverter()
Dim pdfDoc As PdfDocument = converter.ConvertToPDF(document)
i still able to see the empty paragraph.
attached are the word template file, the file result in word format, and the file result in pdf format.
Any advice?
Karina Tasha
Training_Schedule_List_a6f6ee5d.zip