如何转换PowerPoint幻灯片到服务器中的图片? [英] How to convert PowerPoint slides into images in the server?

查看:221
本文介绍了如何转换PowerPoint幻灯片到服务器中的图片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PowerPoint程序以其他格式保存文件的选项。使用这个功能可以转换成幻灯片图像。

PowerPoint has an option of saving the file in other formats. Using this feature one can convert the slides into images.

我想开发其中一个可以上传.ppt文件到我的服务器和应用程序将转换成幻灯片图像,无需任何人工干预的应用程序。

I want to develop an application where one can upload a .ppt file into my server and the application would convert the slides into images, without any manual intervention.

我能有什么pointers-怎么做?

Could I have any pointers- how to do so?

在此先感谢。

推荐答案

Microsoft建议反对,不支持使用办公自动化的服务器上。这就是说,它肯定能完成。你必须明白,PowerPoint中只允许自己一个实例的时间;你要编写的应用程序,这样你不尝试调用PPT的多个实例。

Microsoft recommends against and doesn't support using Office automation on the server. That said, it can certainly be done. You have to understand that PowerPoint only allows one instance of itself at a time; you'll want to write your app such that you're not trying to invoke multiple instances of PPT.

一种方法是写一个观察者的应用程序,轮询PPT目录中的文件每n分钟。当它发现它们,它启动PowerPoint中,将这些文件一次一个,并为每一个文件,确实的出口,然后关闭该文件。当所有的文件都行,他也驳斥PowerPoint中,然后返回到等待更多的文件出现。

One approach is to write a "watcher" app that polls a directory for PPT files every n minutes. When it finds them, it launches PowerPoint, loads the files one at a time and for each file, does the export, then closes the file. When all files are done, it dismisses PowerPoint, then goes back to waiting for more files to appear.

这篇关于如何转换PowerPoint幻灯片到服务器中的图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆