I am using Aspose words v14.10.0.0, and my doc template has merge fields for images.
All the images except one are scaled properly, for this image the scaling is not being applied but the image is getting displayed and the call back function works as expected.
Thanks for your inquiry.To ensure a timely and accurate response, please attach the following resources here for testing:
Your input Word document (template) and image file.
Aspose.Words generated output document which shows the undesired behavior.
Please create a standalone (runnable) simple console application (source code) that helps us reproduce your problem on our end and attach it here for testing.
As soon as you get these pieces of information ready, we’ll start investigation into your issue and provide you more information. Thanks for your cooperation.
PS: To attach these resources, please zip them and Click ‘Reply’ button that will bring you to the ‘reply page’ and there at the bottom you can include any attachments with that post by clicking the ‘Add/Update’ button.
Thanks for your inquiry. I have corrected the problem in your source code. Please see attached modified “Program.cs” here with this post. I hope, this helps.
Thanks for your inquiry. You need to separately call both ExecuteWithRegions and Execute methods as they do very different things. Please note that ExecuteWithRegions method fills a region in the document defined by a pair of matching TableStart and TableEnd merge fields with the same table name while the Execute method performs a standard mail merge. Ideally, you should run ExecuteWithRegions first and then run Execute method after it. I hope, this helps.