语法
表达式.AfterPresentationOpen(Pres)
表达式 一个返回 Application 对象的表达式。
参数
示例
本示例修改第三种配色方案的背景色,再将修改后的配色方案应用于刚打开的演示文稿,并在“幻灯片”视图中显示该演示文稿。
function Application_AfterPresentationOpen(Pres) { let CS3 = Pres.ColorSchemes.Item(3) CS3.Colors(ppBackground).RGB = 240, 115, 100 let Win = Windows.Item(1) Win.Selection.SlideRange.ColorScheme = CS3 Win.ViewType = ppViewSlide }