PowerPoint) (AnimationSettings.AnimateTextInReverse 属性

决定指定形状是否按相反顺序生成。 仅应用于可在多个步骤中生成的形状(例如,包含列表的形状)。 读/写。

语法

expression。 AnimateTextInReverse

表达式 表示 AnimationSettings 对象的变量。

返回值

MsoTriState

备注

AnimateTextInReverse 属性的值可以是其中一个 MsoTriState 常量。

常量 说明
msoFalse 指定形状不按相反顺序生成。
msoTrue 指定形状按相反顺序生成。

除非对指定的形状进行动画处理,否则不会看到设置此属性的效果。 对形状进行动画处理, AnimationSettings 对象的形状的 TextLevelEffect 属性必须设置为 ppAnimateLevelNone 以外, 动画 属性必须设置为 True 。

示例

以下示例在当前演示文稿的第一张幻灯片后添加一张幻灯片,然后设置标题文本,并为文本占位符添加三个项的列表,并设置该列表按相反顺序构造。

With ActivePresentation.Slides.Add(2, ppLayoutText).Shapes
    .Item(1).TextFrame.TextRange.Text = "Top Three Reasons"
    With .Item(2)
        .TextFrame.TextRange = "Reason 1" & Chr(13) _
            & "Reason 2" & Chr(13) & "Reason 3"
        With .AnimationSettings
            .Animate = msoTrue
            .TextLevelEffect = ppAnimateByFirstLevel
            .AnimateTextInReverse = msoTrue
        End With
    End With
End With

另请参阅

AnimationSettings 对象

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。