Share via


Effect.Behaviors Property (PowerPoint)

Returns a specified slide animation behavior as an AnimationBehaviors collection.

Syntax

expression .Behaviors

expression A variable that represents an Effect object.

Return Value

AnimationBehaviors

Remarks

To return a single AnimationBehavior object in the AnimationBehaviors collection, use the Item method or Behaviors(index), where index is the index number of the AnimationBehavior object in the AnimationBehaviors collection.

Example

The following example returns a specific animation behavior type in the active presentation.

Sub ReturnTypeValue

    MsgBox ActiveWindow.Selection.SlideRange(1).TimeLine _

        .MainSequence(1).Behaviors.Item(1).Type

End Sub

See Also

Concepts

Effect Object Members

Effect Object