Partager via


PlaySettings.PlayOnEntry Property

Determines whether the specified movie or sound is played automatically when it is animated. Read/write.

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

Syntax

'Declaration
Property PlayOnEntry As MsoTriState
    Get
    Set
'Usage
Dim instance As PlaySettings
Dim value As MsoTriState

value = instance.PlayOnEntry

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

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

Setting this property to msoTrue sets the Animate property of the AnimationSettings object to msoTrue. Setting the Animate property to msoFalse automatically sets the PlayOnEntry property to msoFalse.

Use the ActionVerb property to set the verb that will be invoked when the media clip is animated.

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

Constant

Description

msoFalse

The specified movie or sound is not played automatically when it is animated.

msoTrue

The specified movie or sound is played automatically when it is animated.

See Also

Reference

PlaySettings Interface

PlaySettings Members

Microsoft.Office.Interop.PowerPoint Namespace