决定指定形状是否按相反顺序构造。仅应用于具有多个创建步骤的形状(例如,包含列表的形状)。可读写。MsoTriState 类型。
MsoTriState 可以是下列 MsoTriState 类型常数之一。 |
msoCTrue |
msoFalse |
msoTriStateMixed |
msoTriStateToggle |
msoTrue 指定形状按相反顺序构造。 |
expression.AnimateTextInReverse
expression 必选。该表达式返回“应用于”列表中的对象之一。
指定形状必须被赋予动画效果,才能看到设置该属性的效果。要为某个形状赋予动画效果,必须将 AnimationSettings 对象的 TextLevelEffect 属性设为除 ppAnimateLevelNone 以外的值,并且 Animate 属性必须设为 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