Hi, I have the code to programmatically convert slides in powerpoint to images and save in local machine. But this is using the below code that uses the office dll.
using Microsoft.Office.Core;
using Microsoft.Office.Interop.PowerPoint;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
var app = new Microsoft.Office.Interop.PowerPoint.Application();
var pres = app.Presentations;
var file = pres.Open(@"C:\test\test.pptx", MsoTriState.msoTrue, MsoTriState.msoTrue, MsoTriState.msoFalse);
file.Export(@"C:\testNew.png", "PNG");
}
}
I want to do the same without using office dll as the server where i am going to host it does not have office. (My machine has office). Please help Regards, Sarah