SlideShowWindow Interface

Represents a window in which a slide show runs.

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

Syntax

'Declaration
<GuidAttribute("91493453-5A91-11CF-8700-00AA0060263B")> _
Public Interface SlideShowWindow
'Usage
Dim instance As SlideShowWindow
[GuidAttribute("91493453-5A91-11CF-8700-00AA0060263B")]
public interface SlideShowWindow

Examples

Use SlideShowWindows(index), where index is the slide show window index number, to return a single SlideShowWindow object. The following example activates slide show window two.

SlideShowWindows(2).Activate

Use the Run() method to create a new slide show window and return a reference to this slide show window. The following example runs a slide show of the active presentation and reduces the height of the slide show window just enough so that you can see the taskbar (for monitors with a screen resolution of 800 by 600).

With ActivePresentation.SlideShowSettings

    .ShowType = ppShowTypeSpeaker

    With .Run

        .Height = 300

        .Width = 400

    End With

End With

Use the View property to return the view in the specified slide show window. The following example sets the view in slide show window one to display slide three in the presentation.

SlideShowWindows(1).View.GotoSlide 3

Use the Presentation property to return the presentation that's currently running in the specified slide show window. The following example displays the name of the presentation that's currently running in slide show window one.

MsgBox SlideShowWindows(1).Presentation.Name

See Also

Reference

SlideShowWindow Members

Microsoft.Office.Interop.PowerPoint Namespace