AnimationBehaviors Interface

Represents a collection of AnimationBehavior objects.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<GuidAttribute("914934E3-5A91-11CF-8700-00AA0060263B")> _
Public Interface AnimationBehaviors _
    Inherits Collection
'Usage
Dim instance As AnimationBehaviors
[GuidAttribute("914934E3-5A91-11CF-8700-00AA0060263B")]
public interface AnimationBehaviors : Collection

Examples

Use the Add(MsoAnimType, Int32) method to add an animation behavior. The following example adds a five-second animated rotation behavior to the main animation sequence on the first slide.

Sub AnimationObject()

    Dim timeMain As TimeLine



    'Reference the main animation timeline

    Set timeMain = ActivePresentation.Slides(1).TimeLine



    'Add a five-second animated rotation behavior

    'as the first animation in the main animation sequence

    timeMain.MainSequence(1).Behaviors.Add Type:=msoAnimTypeRotation, Index:=1

End Sub

See Also

Reference

AnimationBehaviors Members

Microsoft.Office.Interop.PowerPoint Namespace