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

Define the Size of images on Collection export to excel

Thread ID:





121088 Nov 10,2015 05:14 AM UTC Nov 16,2015 12:10 PM UTC LightSwitch Silverlight 3
Tags: XlsIO
Michael Gotfredsen
Asked On November 10, 2015 05:14 AM UTC

Quick question - is it possible to define the size of images when they export to excel as part of a collection? When they are not square, they appear to be stretched to be square.


Ishwarya Narayanan [Syncfusion]
Replied On November 11, 2015 12:54 PM UTC

Hi Michael,


We have prepared a sample to add and resize images using XlsIO in the following link. Kindly refer to this and modify your sample. Also, it would be grateful if you could share us in detail from which control you are trying to export to Excel along with your code sample. These details will help us to investigate further to provide a prompt solution at the earliest.


KB Link:



Sample Link:




Ishwarya N

Michael Gotfredsen
Replied On November 13, 2015 05:58 AM UTC

Thanks Ishwarya

The info provided indicates (correct me if I'm wrong) how you can add images, and apply a size to them, but not how to provide a size when the image is provided as part of a lightswitch collection (i.e. its a field in the collection, and you export that to excel)

I can do a basic sample if that will assist


Mathu Mohan Vijayakumar [Syncfusion]
Replied On November 16, 2015 12:10 PM UTC

Hi Michael,
In Lightswitch, XlsIO doesn’t have support to resize the image dynamically. On exporting to excel the field collection values are serialized with the size of cell in the grid layout screen. So we are requesting to change the size of the image on grid layout in the screen manually.

Please let us know if you have any queries.


Mathu Mohan V A


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