Sdílet prostřednictvím


AnimationPoints Object (PowerPoint)

Represents a collection of animation points for a PropertyEffect object.

Example

Use the Points property of the PropertyEffect object to return an AnimationPoints collection object. The following example adds an animation point to the first behavior in the active presentation's main animation sequence.

Sub AddPoint()

    ActivePresentation.Slides(1).TimeLine.MainSequence(1) _

        .Behaviors(1).PropertyEffect.Points.Add

End Sub

Transitions from one animation point to another can sometimes be abrupt or choppy. Use the Smooth property to make transitions smoother. This example smoothes the transitions between animation points.

Sub SmoothTransition()

    ActivePresentation.Slides(1).TimeLine.MainSequence(1) _

        .Behaviors(1).PropertyEffect.Points.Smooth = msoTrue

End Sub

See Also

Concepts

PowerPoint Object Model Reference

AnimationPoints Object Members