We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Mail Merge -> Images in tables -> ImageSize

Thread ID:





116487 Jun 2,2014 09:15 AM UTC Jun 9,2014 05:06 AM UTC ASP.NET Web Forms (Classic) 3
Tags: DocIO
Nicky Mogensen
Asked On June 2, 2014 09:15 AM UTC

Hi there.

I'm successfully generating Word documents, with images in a table, so that each image gets it's own row. But I have a problem

The images is overflowing the cell, and gets cropped. How do I avoid the image from being larger than the actual table cell?

This is how i generate the document (partial):

And the eventhandler for MergeImageField

Thanks in advance
Nicky Mogensen

Sivasubramani V [Syncfusion]
Replied On June 5, 2014 06:06 AM UTC

Hi Nicky , 

Thank you for your interest in Syncfusion products.  

We have prepared a sample to meet your requirement to perform mail merge with images and to adjust the width of the image according to the table cell width when width of the image exceeds the width of the table cell. Please find the attached sample and let us know if this helps you. 

Sample link:


Please let us know if you have any other questions. 



Nicky Mogensen
Replied On June 6, 2014 06:42 AM UTC

Thanks, worked like a charm :)

Sarathkumar V [Syncfusion]
Replied On June 9, 2014 05:06 AM UTC

Hi Nicky,

Thank you for your update. Please let us know if you have any other questions. We will be happy to assist you as always.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon