Partager via


Balloon.Animation Property

Returns or sets an animation action for the Office Assistant.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property Animation As MsoAnimationType
    Get
    Set
'Usage
Dim instance As Balloon
Dim value As MsoAnimationType

value = instance.Animation

instance.Animation = value
MsoAnimationType Animation { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoAnimationType

Remarks

Some of the content in this topic may not be applicable to some languages.

The Assistant is animated only while the balloon is displayed. “Clippit” is the default Assistant, and msoAnimationIdle is the default animation type for the Assistant.

Depending on the selected Assistant, setting the Animation property may or may not result in an obvious animation. However, all MsoAnimationType constants are valid for all Assistants. Note that different constants may produce the same animation.

The following MsoAnimationType constants represent animations that repeat the specified action until the Assistant is dismissed or until the Animation property is reset with another animation:

msoAnimationCheckingSomething

msoAnimationGetTechy

msoAnimationListensToComputer

msoAnimationSearching

msoAnimationThinking

msoAnimationWorkingAtSomething

msoAnimationWritingNotingSomething

See Also

Reference

Balloon Interface

Balloon Members

Microsoft.Office.Core Namespace