Table of contents
TOC
Collapse the table of content
Expand the table of content

PlaySettings.HideWhileNotPlaying Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Determines whether the specified media clip is hidden during a slide show except when it is playing. Read/write.

Syntax

expression. HideWhileNotPlaying

expression A variable that represents a PlaySettings object.

Return Value

MsoTriState

Remarks

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

ConstantDescription
msoFalseThe specified media clip is not hidden during a slide show except when it is playing.
msoTrueThe specified media clip is hidden during a slide show except when it is playing.

Example

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 = msoTrue
    End With

End With

See also

Concepts

PlaySettings Object

© 2018 Microsoft