Excel to PDF and shapes

Hello,



I have some code that creates a PDF from an XLS.



It missing the Shapes.



The code that does the conversion is



// rval and working are streams



Aspose.Cells.Workbook book = new Aspose.Cells.Workbook();

book.Open(sourceStream);

book.DisplayDrawingObjects = Aspose.Cells.DisplayDrawingObjects.DisplayShapes;

book.Save(working, Aspose.Cells.FileFormatType.AsposePdf);



Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();

pdf.IsImagesInXmlDeleteNeeded = true;

pdf.BindXML(working, null);

pdf.Save(rval);

Hello Steve,

Thanks for considering Aspose.

I am sorry to inform you that, in Aspose.Cells, Xls2Pdf feature doesn't support to convert drawing objects, including image, charts, comments, shapes, etc. Other major Excel features, such as data, style, pagesetup,..., are all supported.

We apologize for your inconvenience.