如何从 PowerPoint Interop 获取 ActivePresentation 文件格式 [英] How can I get the ActivePresentation file format from PowerPoint Interop

查看:46
本文介绍了如何从 PowerPoint Interop 获取 ActivePresentation 文件格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

...对于枚举 Microsoft.Office.Interop.PowerPoint.PpSaveAsFileType?

推荐答案

不幸的是,您实际上无法获取文件格式.最好的办法是阅读扩展,就像在这个线程中一样:如何以编程方式获取 PowerPoint 文件格式.

You actually can't get the file format, unfortunately. The best that can be done is to read the extention, like in this thread: How to obtain PowerPoint File Format Programmatically.

另一种方法是使用 DSOFile 来读取格式.

One other way is to use DSOFile to read the format.

这篇关于如何从 PowerPoint Interop 获取 ActivePresentation 文件格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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