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.
Unfortunately, activation email could not send to your email. Please try again.

ConvertToImage Not working

Thread ID:





130568 May 18,2017 06:03 AM May 19,2017 08:16 AM ASP.NET MVC 1
Tags: XlsIO
Asked On May 18, 2017 06:03 AM

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 08:16 AM

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.

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.