Class SlideShowWindow (PowerPoint VBA)

The class SlideShowWindow represents a window in which a slide show runs.

The main procedure of class SlideShowWindow is Activate

Set

To use a SlideShowWindow class variable it first needs to be instantiated, for example

Dim ssw as SlideShowWindow
Set ssw = SlideShowWindows(Index:=1)

The following procedures can be used to set variables of type SlideShowWindow: Presentation.SlideShowWindow, SlideShowSettings.Run, SlideShowWindows.Item and Application.SlideShowWindows

Themes

The following procedures in this class have been grouped together and are described on a separate theme page

Format with its procedures Height and Width

Methods

This is the main method of the SlideShowWindow class

Activate - Activates the specified object.

SlideShowWindows(1).Activate

Properties

Active returns whether the specified pane or window is active.

Dim mtsActive As Office.MsoTriState
mtsActive = SlideShowWindows(1).Active

IsFullScreen returns whether the specified slide show window occupies the entire screen.

Dim mtsIsFullScreen As Office.MsoTriState
mtsIsFullScreen = SlideShowWindows(1).IsFullScreen

Left returns or sets a Single that represents the distance in points from the left edge of the document, application, and slide show windows to the left edge of the application window's client area. Setting this property to a very large positive or negative value may position the window completely off the desktop.

SlideShowWindows(1).Left =

Parent returns the parent object for the specified object.

Dim objParent As Object
Set objParent = SlideShowWindows(1).Parent

Presentation returns a Presentation object that represents the presentation in which the specified document window or slide show window was created.

Dim prsPresentation As Presentation
Set prsPresentation = SlideShowWindows(1).Presentation

SlideNavigation returns a SlideNavigation object that represents the slide navigation screen in slide show view. Read-only

Dim snnSlideNavigation As SlideNavigation
Set snnSlideNavigation = SlideShowWindows(1).SlideNavigation

Top returns or sets a Single that represents the distance in points from the top edge of the document, application, and slide show window to the top edge of the application window's client area.

SlideShowWindows(1).Top = 20

View returns a SlideShowView object.

Dim ssvView As SlideShowView
Set ssvView = SlideShowWindows(1).View

SlideShowWindows.Count returns the number of objects in the specified collection.

Dim lngCount As Long
lngCount = SlideShowWindows.Count

SlideShowWindows.Parent returns the parent object for the specified object.

Dim objParent As Object
Set objParent = SlideShowWindows.Parent