返回一个
Presentation
对象,该对象代表当前窗口中打开的演示文稿。只读。请注意,如果嵌入的演示文稿处于活动状态,则
ActivePresentation 属性将返回嵌入的演示文稿。
语法
表达式.ActivePresentation
表达式 一个代表 Application 对象的变量。
返回值
Presentation
示例
本示例将加载的演示文稿保存到应用程序文件夹下名为“TestFile”的文件中”。
示例代码 |
let MyPath = Application.Path + "\\TestFile"
Application.ActivePresentation.SaveAs(MyPath)
|
ActivePresentation 属性 ActivePresentation 属性 活动演示文稿