Dear Sir/Madam,
I downloaded Aspose.Words for .NET 18.12 trial version and perform the Word Automation evaluation and testing.
I use below sample program for MailMerge to output pdf.
//Open document
Aspose.Words.Document doc = new Aspose.Words.Document(FilePathName);
//Update fields.
doc.UpdateFields();
//Execute the nested mail merge without regions
doc.MailMerge.Execute(DataTable);
doc.Save(“test.pdf”);
But I found for Field code =PRINTDATE @ “MMMM d, yyyy” , it outputs as “January 1, 0001” instead of current calendar date.
Please advise if there have any method to deal with the PRINTDATE field update. Thank in advance.
Thanks and Regards,
Sam Liu