Table of contents
TOC
折叠目录
展开目录

Effect.Exit 属性 (PowerPoint)Effect.Exit Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

决定动画效果是否为退出效果。可读/写。Determines whether the animation effect is an exit effect. Read/write.

语法Syntax

表达式退出expression. Exit

表达式_一个表示Effect对象的变量。_expression A variable that represents an Effect object.

返回值Return Value

MsoTriStateMsoTriState

注解Remarks

退出属性的值可以是其中一个MsoTriState常量。The value of the Exit property can be one of these MsoTriState constants.

常量Constant说明Description
msoFalsemsoFalse该效果不是退出效果。The effect is not an exit effect.
属性值为 msoTruemsoTrue其效果是以退出效果。The effect is an exit effect.

示例Example

以下示例将显示指定的动画是否是退出动画效果。This example displays whether the specified animation is an exit animation effect.

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

另请参阅See also

概念Concepts

影响对象Effect Object

© 2018 Microsoft