开发者

How to convert PowerPoint (.ppt, .pptx) to several images of each slide?

Do you guys have some .Net libraries which has ability to conver开发者_C百科t a PowerPoint Presentation file into images?


Using add reference to Microsoft.Office.Interop.PowerPoint.dll. To convert PowerPoint slides to PNG images:

PowerPoint.Presentation pptPresentation = pptApplication.Presentations.Open2007(FILE);
foreach (PowerPoint.Slide pptSlide in pptPresentation.Slides)
{
   pptSlide.Export(NEWNAME, "PNG", 1024, 768);
}


do check PPT slides to images

https://stackoverflow.com/questions/733347/is-it-possible-to-convert-powerpoint-to-images-programatically


Please see if Aspose.Slides for .NET can help you in this scenario. This component allows you to convert Powerpoint slides to images. It doesn't require MS Office to be installed on the system.

Disclosure: I work as developer evangelist at Aspose.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜