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.
The OpenAPI Specification lets you call this REST API directly from a browser.
You can use cURL command-line tool to access Aspose.Words web services easily. The following example shows how to make calls to Cloud API with cURL. Feel free to download and explore sample input TestMailMergeWithImages.doc and MailMergeData.txt files designed to act as a demonstration and let you figure out the details quickly. The output document would be as follows: TestMailMergeWithImages_Out.docx .
Cloud SDK Family
Using an SDK is the best way to speed up the development. An SDK takes care of low-level details and lets you focus on your project tasks. Check out our GitHub repository for a complete list of Aspose.Words SDKs. Please check Available SDKs article to learn how to add an SDK to your project.
The following code examples demonstrate how to make calls to Aspose.Words web services using various SDKs: