I am working on a feature that gets various document types (pictures, text, etc), and puts these into a report. There will be some types of content that Aspose.words can not handle (for example audio or video).
I was wondering what the recomendation is between using my own loop, and calling mailmerge.execute OR doing a document.mailmerge.executewithregions() on the datatable I have. The only thing I can see is where i check for 'invalid' file types (in my code, rather than handling a possible error in the executewithregions().
The main reason I ask is using any object type in mailmerge.execute().
I will have a MergeFieldEventHandler() and MergeImageFieldEventHandler() - will it know which one to use?