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. Image for the cookie policy date

ConvertToImage Not working

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

1 Reply

SS Sridhar Sukumar Syncfusion Team 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. 

SIGN IN To post a reply.
Live Chat Icon For mobile
Up arrow icon