Share via


AnimationSettings.PlaySettings Property

Returns a PlaySettings object that contains information about how the specified media clip plays during a slide show. Read-only.

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

Syntax

'Declaration
ReadOnly Property PlaySettings As PlaySettings
    Get
'Usage
Dim instance As AnimationSettings
Dim value As PlaySettings

value = instance.PlaySettings
PlaySettings PlaySettings { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PlaySettings
PlaySettings

Examples

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

See Also

Reference

AnimationSettings Interface

AnimationSettings Members

Microsoft.Office.Interop.PowerPoint Namespace