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

巧了我就是萌 提交于 2019-12-09 06:29:20

问题


Do you guys have some .Net libraries which has ability to convert a PowerPoint Presentation file into images?


回答1:


do check PPT slides to images

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




回答2:


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);
}



回答3:


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.



来源:https://stackoverflow.com/questions/4316789/how-to-convert-powerpoint-ppt-pptx-to-several-images-of-each-slide

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!