I am using the aspose.cells (dll version 8.0) and I am trying to convert an excel file with an image to a pdf however I am getting the exception “Shape to Image error” on the highlighted line of code below.
Below is my code (this code works perfectly when there are no images in the excel file). I am pulling the excel file in as a stream from an upload control in my
// read in the Workbook workbook = new Workbook(file.InputStream); //Save the document in PDF format System.IO.MemoryStream ms = new System.IO.MemoryStream(); workbook.Save(ms, Aspose.Cells.SaveFormat.Pdf);
Any idea what would cause this error? I have attached my excel file as a sample