Partager via


AnimationBehavior.Accumulate Property (PowerPoint)

Determines whether animation behaviors accumulate. Read/write.

Syntax

expression .Accumulate

expression A variable that represents an AnimationBehavior object.

Return Value

MsoAnimAccumulate

Remarks

Use this property in conjunction with the Additive property to combine animation effects.

The value of the Accumulate property can be one of these MsoAnimAccumulate constants.

Constant

Description

msoAnimAccumulateAlways

Animation behaviors accumulate.

msoAnimAccumulateNone

The default. Animation behaviors do not accumulate.

Example

The following example allows a specified animation behavior to accumulate with other animation behaviors.

Sub SetAccumulate()



    Dim animBehavior As AnimationBehavior



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

        MainSequence(1).Behaviors(1)



    animBehavior.Accumulate = msoAnimAccumulateAlways



End Sub

See Also

Concepts

AnimationBehavior Object Members

AnimationBehavior Object