title | keywords | f1_keywords | ms.prod | api_name | ms.assetid | ms.date | ||
---|---|---|---|---|---|---|---|---|
EffectInformation.PlaySettings Property (PowerPoint) |
vbapp10.chm655008 |
|
powerpoint |
|
702cf5b9-8164-cd25-e441-566a9a94fc14 |
06/08/2017 |
Returns a PlaySettings object that contains information about how the specified media clip plays during a slide show. Read-only.
expression. PlaySettings
expression A variable that represents an EffectInformation object.
PlaySettings
This example inserts a movie named Clock.avi onto slide one in the active presentation, sets it to play automatically after the slide transition, and specifies that the movie object be hidden during a slide show except when it is playing.
With ActivePresentation.Slides(1).Shapes.AddOLEObject(Left:=10, _
Top:=10, Width:=250, Height:=250, _
FileName:="c:\winnt\Clock.avi")
With .AnimationSettings.PlaySettings
.PlayOnEntry = True
.HideWhileNotPlaying = True
End With
End With