Share via


PlaySettings.StopAfterSlides Property

Returns or sets the number of slides to be displayed before the media clip stops playing. Read/write.

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

Syntax

'Declaration
Property StopAfterSlides As Integer
    Get
    Set
'Usage
Dim instance As PlaySettings
Dim value As Integer

value = instance.StopAfterSlides

instance.StopAfterSlides = value
int StopAfterSlides { get; set; }

Property Value

Type: System.Int32

Remarks

For the StopAfterSlides property setting to take effect, the PauseAnimation property of the specified slide must be set to false, and the PlayOnEntry property must be set to true.

The media clip will stop playing when the specified number of slides have been displayed or when the clip comes to an end — whichever comes first. A value of 0 (zero) specifies that the clip will stop playing after the current slide.

See Also

Reference

PlaySettings Interface

PlaySettings Members

Microsoft.Office.Interop.PowerPoint Namespace