Share via


ActionSetting.AnimateAction Property

Specifies whether the color of the specified shape is momentarily inverted when the specified mouse action occurs. Read/write.

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

Syntax

'Declaration
Property AnimateAction As MsoTriState
    Get
    Set
'Usage
Dim instance As ActionSetting
Dim value As MsoTriState

value = instance.AnimateAction

instance.AnimateAction = value
MsoTriState AnimateAction { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState
MsoTriState

Remarks

The value of the AnimateAction property can be one of these MsoTriState constants.

Constant

Description

msoFalse

The color of the specified shape is not momentarily inverted when the specified mouse action occurs.

msoTrue

The color of the specified shape is momentarily inverted when the specified mouse action occurs.

Examples

This example sets shape three on slide one in the active presentation to play the sound of applause and to momentarily invert its color when it is clicked during a slide show.

With ActivePresentation.Slides(1) _

    .Shapes(3).ActionSettings(ppMouseClick)

        .SoundEffect.Name = "applause"

        .AnimateAction= msoTrue

End With

See Also

Reference

ActionSetting Interface

ActionSetting Members

Microsoft.Office.Interop.PowerPoint Namespace