Share via


AnimationBehavior.Accumulate Property

Determines whether animation behaviors accumulate. Read/write.

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

Syntax

'Declaration
Property Accumulate As MsoAnimAccumulate
    Get
    Set
'Usage
Dim instance As AnimationBehavior
Dim value As MsoAnimAccumulate

value = instance.Accumulate

instance.Accumulate = value
MsoAnimAccumulate Accumulate { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.MsoAnimAccumulate
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.

Examples

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

Reference

AnimationBehavior Interface

AnimationBehavior Members

Microsoft.Office.Interop.PowerPoint Namespace