PropertyEffect![]() ![]() ![]() |
代表 PropertyEffect 对象动画点的集合。
使用 PropertyEffect 对象的 Points 属性返回 AnimationPoints 集合对象。以下示例在当前演示文稿的主动画序列的第一个动作中添加一个动画点。
Sub AddPoint()
ActivePresentation.Slides(1).TimeLine.MainSequence(1) _
.Behaviors(1).PropertyEffect.Points.Add
End Sub
从一个动画点切换到另一动画点有时可能会不连续或不平稳。使用此 Smooth 属性可使切换更平稳。本示例使动画点之间的切换更平稳。
Sub SmoothTransition()
ActivePresentation.Slides(1).TimeLine.MainSequence(1) _
.Behaviors(1).PropertyEffect.Points.Smooth = msoTrue
End Sub