PlaySettings Interface
Contains information about how the specified media clip will be played during a slide show.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
<GuidAttribute("9149348E-5A91-11CF-8700-00AA0060263B")> _
Public Interface PlaySettings
'Usage
Dim instance As PlaySettings
[GuidAttribute("9149348E-5A91-11CF-8700-00AA0060263B")]
public interface PlaySettings
Examples
Use the PlaySettings property to return the PlaySettings object. The following example inserts a movie named "Clock.avi" into slide one in the active presentation. It then sets it to be played automatically after the previous animation or slide transition, specifies that the slide show continue while the movie plays, and specifies that the movie object be hidden during a slide show except when it is playing.
Set clockMovie = ActivePresentation.Slides(1).Shapes _
.AddMediaObject(FileName:="C:\WINNT\clock.avi", _
Left:=20, Top:=20)
With clockMovie.AnimationSettings.PlaySettings
.PlayOnEntry = True
.PauseAnimation = False
.HideWhileNotPlaying = True
End With