Share via


AnimationBehavior.Additive Property

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

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

Syntax

'Declaration
Property Additive As MsoAnimAdditive
    Get
    Set
'Usage
Dim instance As AnimationBehavior
Dim value As MsoAnimAdditive

value = instance.Additive

instance.Additive = value
MsoAnimAdditive Additive { get; set; }

Property Value

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

Examples

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

Sub SetAdditive()



    Dim animBehavior As AnimationBehavior



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

        .TimeLine.MainSequence(1).Behaviors(1)



    animBehavior.Additive= msoAnimAdditiveAddSum



End Sub

See Also

Reference

AnimationBehavior Interface

AnimationBehavior Members

Microsoft.Office.Interop.PowerPoint Namespace