Class AnimationBehavior (PowerPoint VBA)

The class AnimationBehavior represents the behavior of an animation effect, the main animation sequence, or an interactive animation sequence. The AnimationBehavior object is a member of the AnimationBehaviors collection.

To use a AnimationBehavior class variable it first needs to be instantiated, for example

Dim abr as AnimationBehavior
Set abr = ActivePresentation.SlideMaster.TimeLine.MainSequence(1).Behaviors(Index:=1)

The following procedures can be used to set variables of type AnimationBehavior: AnimationBehaviors.Add and AnimationBehaviors.Item.

Methods

Delete - Deletes the specified AnimationBehavior object.

Properties

Accumulate determines whether animation behaviors accumulate.

Additive sets or returns whether the current animation behavior is combined with other running animations.

ColorEffect returns a ColorEffect object that represents the color properties for a specified animation behavior.

CommandEffect returns a CommandEffect object for the specified animation behavior.

FilterEffect returns a FilterEffect object that represents a filter effect for an animation behavior.

MotionEffect returns a MotionEffect object that represents the properties of a motion animation.

PropertyEffect returns a PropertyEffect object for a given animation behavior.

RotationEffect returns a RotationEffect object for an animation behavior.

ScaleEffect returns a ScaleEffect object for a given animation behavior.

SetEffect returns a SetEffect object for the animation behavior.

Timing returns a Timing object that represents the timing properties for an animation sequence.

Type represents the type of animation.

ColorEffect - Represents a color effect for an animation behavior.

CommandEffect - Represents a command effect for an animation behavior. You can send events, call functions, and send OLE verbs to embedded objects using this object.

FilterEffect - Represents a filter effect for an animation behavior.

MotionEffect - Represents a motion effect for an AnimationBehavior object.

PropertyEffect - Represents a property effect for an AnimationBehavior object.

RotationEffect - Represents a rotation effect for an AnimationBehavior object.

ScaleEffect - Represents a scaling effect for an AnimationBehavior object.

SetEffect - Represents a set effect for an animation behavior. You can use the SetEffect object to set the value of a property.

Timing - Represents timing properties for an animation effect.