PowerPoint) (Effect.Exit 属性
决定动画效果是否为退出效果。 读/写。
语法
expression。 Exit
表达 一个代表 Effect 对象的变量。
返回值
MsoTriState
备注
退出 属性的值可以是其中一个 MsoTriState 常量。
常量 | 说明 |
---|---|
msoFalse | 该效果不是退出效果。 |
msoTrue | 该效果是退出效果。 |
示例
以下示例将显示指定的动画是否是退出动画效果。
Sub EffectExit()
Dim effMain As Effect
Set effMain = ActivePresentation.Slides(1).TimeLine.MainSequence(1)
If effMain.Exit = msoTrue Then
MsgBox "This is an exit animation effect."
Else
MsgBox "This is not an exit animation effect."
End If
End Sub
另请参阅
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。