AnimationSettings.TextLevelEffect 属性 (PowerPoint)
指示指定形状内的文本是由第一级段落、第二级段落还是其他级段落(最高为第五级段落)激活动画显示。 读/写。
语法
expression。 TextLevelEffect
表达 一个代表 AnimationSettings 对象的变量。
返回值
PpTextLevelEffect
备注
TextLevelEffect 属性设置才会生效,对于 动画 属性必须设置为 True 。
TextLevelEffect 属性的值可以是其中一个 PpTextLevelEffect 常量。
ppAnimateByAllLevels |
ppAnimateByFifthLevel |
ppAnimateByFirstLevel |
ppAnimateByFourthLevel |
ppAnimateBySecondLevel |
ppAnimateByThirdLevel |
ppAnimateLevelMixed |
ppAnimateLevelNone |
示例
本示例在当前演示文稿中添加标题幻灯片及标题文本,并将该标题的字母设置为逐个显示。
With ActivePresentation.Slides.Add(1, ppLayoutTitleOnly).Shapes(1)
.TextFrame.TextRange.Text = "Sample title"
With .AnimationSettings
.Animate = True
.TextLevelEffect = ppAnimateByFirstLevel
.TextUnitEffect = ppAnimateByCharacter
.EntryEffect = ppEffectFlyFromLeft
End With
End With
另请参阅
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。