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

ConvertToImage Not working

Thread ID:





130568 May 18,2017 10:03 AM UTC May 19,2017 12:16 PM UTC ASP.NET MVC 1
Tags: XlsIO
Asked On May 18, 2017 10:03 AM UTC

I try to convert a excel file to image. The file contains a calculated cell.
This cell doesn't render the calculated value when converting to image.


IApplication application = excelEngine.Excel;
IWorkbook workbook = application.Workbooks.Open(filePath);
int startRangeRow = sheet.UsedRange.Row;
int startRangeColumn = sheet.UsedRange.Column;
int endRangeRow = sheet.UsedRange.LastRow;
int endRangeColumn = sheet.UsedRange.LastColumn;
Image image = sheet.ConvertToImage(startRangeRow, startRangeColumn, endRangeRow, endRangeColumn, ImageType.Metafile, null);


Version of XlsIO.Base : 15.1400.0.41 

Attachment: test_9e70abe5.zip

Sridhar Sukumar [Syncfusion]
Replied On May 19, 2017 12:16 PM UTC

Hi Nicolas, 


We were able to reproduce the issue at our end. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates 




Please let me know if you have any questions. 



Sridhar S. 


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

This page will automatically be redirected to the 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