PlaySettings.LoopUntilStopped Property
Determines whether the specified movie or sound loops continuously until either the next movie or sound starts, the user clicks the slide, or a slide transition occurs. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property LoopUntilStopped As MsoTriState
Get
Set
'Usage
Dim instance As PlaySettings
Dim value As MsoTriState
value = instance.LoopUntilStopped
instance.LoopUntilStopped = value
MsoTriState LoopUntilStopped { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoTriState
Remarks
The value of the LoopUntilStopped property can be one of these MsoTriState constants.
Constant |
Description |
---|---|
msoFalse |
The specified movie or sound does not loop continuously. |
msoTrue |
The specified movie or sound loops continuously until either the next movie or sound starts, the user clicks the slide, or a slide transition occurs. |
Examples
This example specifies that shape three on slide one in the active presentation will start to play in the animation order and will continue to play until the next media clip starts. Shape three must be a sound or movie object.
ActivePresentation.Slides(1).Shapes(3) _
.AnimationSettings.PlaySettings.LoopUntilStopped= msoTrue