I have a word document that I am doing a MailMerge on that has the field code INCLUDEPICTURE. The MergeField is inside of a textbox. It is pointing to a local file. When I execute the MailMerge using word or word automation… and then I call UpdateField inside word automation (or press F9 in Word itself), it updates the field and resizes the image to match the textbox. When I call UpdateFields() in Aspose.Words instead of through word automation, it does not resize the image. The image is refreshed with the local image, but it is full size. What am I missing here?
Document doc = new Document(MyDir + "Various fields.docx");
doc.UpdateFields();
I have uploaded my sample source code. Along with my input.docx which is my source document that I do the mail merge with. aspose_update.docx and word_update.docx are the outputs where you can see the image is not resized after mail merge and updating fields.
@Robert343
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-25970
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.