AnimationPoints Interface
Represents a collection of animation points for a PropertyEffect object.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
<GuidAttribute("914934EA-5A91-11CF-8700-00AA0060263B")> _
Public Interface AnimationPoints _
Inherits Collection
'Usage
Dim instance As AnimationPoints
[GuidAttribute("914934EA-5A91-11CF-8700-00AA0060263B")]
public interface AnimationPoints : Collection
Examples
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