AnimationPoints Collection

Microsoft PowerPoint Visual Basic

AnimationPoints Collection

         
PropertyEffect AnimationPoints
AnimationPoint

Represents a collection of animation points for a PropertyEffect object.

Using the AnimationPoints collection

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