Partager via


SlideShowWindows Object (PowerPoint)

A collection of all the SlideShowWindow objects that represent the open slide shows in Microsoft PowerPoint.

Example

Use the SlideShowWindows property to return the SlideShowWindows collection. Use SlideShowWindows(index), where index is the window index number, to return a single SlideShowWindow object. The following example reduces the height of slide show window one if it is a full-screen window.

With SlideShowWindows(1)

    If .IsFullScreen Then

        .Height = .Height - 20

    End If

End With

Use the Run method to create a new slide show window and add it to the SlideShowWindows collection. The following example runs a slide show of the active presentation.

ActivePresentation.SlideShowSettings.Run

See Also

Concepts

PowerPoint Object Model Reference

SlideShowWindows Object Members