Share via


AnimationBehavior.Additive Property

PowerPoint Developer Reference

Sets or returns whether the current animation behavior is combined with other running animations. Read/write.

Syntax

expression.Additive

expression   A variable that represents an AnimationBehavior object.

Return Value
MsoAnimAdditive

Remarks

The value of the Additive property can be one of these MsoAnimAdditive constants.

Constant Description
msoAnimAdditiveAddBase Does not combine current animation with other animations. The default.
msoAnimAdditiveAddSum Combines the current animation with other running animations.

Combining animation behaviors is particularly useful for rotation effects. For example, if the current animation changes rotation and another animation is also changing rotation, if this property is set to msoAnimAdditiveAddSum, Microsoft Office PowerPoint adds together the rotations from both the animations.

Example

The following example allows the current animation behavior to be added to another animation behavior.

Visual Basic for Applications
  Sub SetAdditive()
Dim animBehavior As AnimationBehavior

Set animBehavior = ActiveWindow.Selection.SlideRange(1) _
    .TimeLine.MainSequence(1).Behaviors(1)

animBehavior.<strong>Additive</strong> = msoAnimAdditiveAddSum

End Sub

See Also