This example explains how to insert Images on a MERGEFIELD. MailMerge API allows you to insert images on a merge field. The mail merges data string can be either in XML or JSON format.
Swagger UI lets you call this REST API directly from the browser. The description of the APIs and its parameters are also given there.
Input Document: TestMailMergeWithImages.doc
Mail Merge Data: MailMergeData.txt
Output Document: TestMailMergeWithImages_Out.docx
Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Words SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.