Share via


Effect.Behaviors Property

Returns a specified slide animation behavior as an AnimationBehaviors collection.

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

Syntax

'Declaration
ReadOnly Property Behaviors As AnimationBehaviors
    Get
'Usage
Dim instance As Effect
Dim value As AnimationBehaviors

value = instance.Behaviors
AnimationBehaviors Behaviors { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.AnimationBehaviors
AnimationBehaviors

Remarks

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

Examples

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

Reference

Effect Interface

Effect Members

Microsoft.Office.Interop.PowerPoint Namespace