This project has moved and is read-only. For the latest updates, please go here.

Put excel chart to powerpoint slide

Sep 14, 2012 at 5:18 AM

Hello All,

I have generated charts in Excel using Epplus. I need to put chart to powerpoint slide. How can I do that?

Is there any similar library like EPplus for Powerpoint to generate slides which contains text,charts,tables.

Currently, I am using Microsoft.Office.Interop.PowerPoint.  

I tried to assign my OfficeOpenXml.Drawing.Chart.ExcelPieChart to Microsoft.Office.Interop.Excel.ChartObject.

But I am not able to cast object of type 'OfficeOpenXml.Drawing.Chart.ExcelPieChart' to type 'Microsoft.Office.Interop.Excel.ChartObject'.

I also tried to use Office open XML for powerpoint but I did not find much documentation.

What do I need to do?