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
MsoTriState
Remarks
Setting this property to msoTrue sets the AnimateAction 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. |
Examples
This example specifies that shape three on slide one in the active presentation will be played automatically when it is animated. Shape three must be a sound or movie object.
Set OLEobj = ActivePresentation.Slides(1).Shapes(3)
OLEobj.AnimationSettings.PlaySettings.PlayOnEntry= msoTrue