Share via


SlideShowTransition.LoopSoundUntilNext Property

Specifies whether the sound that's been set for the specified slide transition loops until the next sound starts. Read/write.

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

Syntax

'Declaration
Property LoopSoundUntilNext As MsoTriState
    Get
    Set
'Usage
Dim instance As SlideShowTransition
Dim value As MsoTriState

value = instance.LoopSoundUntilNext

instance.LoopSoundUntilNext = value
MsoTriState LoopSoundUntilNext { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState
MsoTriState

Remarks

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

Constant

Description

msoFalse

The sound that's been set for the specified slide transition does not loop.

msoTrue

The sound that's been set for the specified slide transition loops until the next sound starts.

Examples

This example specifies that the file Dudududu.wav will start to play at the transition to slide two in the active presentation and will continue to play until the next sound starts.

With ActivePresentation.Slides(2).SlideShowTransition

    .SoundEffect.ImportFromFile "c:\sndsys\dudududu.wav"

    .LoopSoundUntilNext= msoTrue

End With

See Also

Reference

SlideShowTransition Interface

SlideShowTransition Members

Microsoft.Office.Interop.PowerPoint Namespace