DocumentWindow Properties (PowerPoint)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Properties

Name

Description

Active

Returns whether the specified pane or window is active. Read-only.

ActivePane

Returns a Pane object that represents the active pane in the document window. Read-only.

Application

Returns an Application object that represents the creator of the specified object.

BlackAndWhite

Determines whether the document window display is black and white. Read/write.

Caption

Returns the text that appears in the title bar of the document window. Read-only.

Height

Returns or sets the height of the specified object, in points. Read/write.

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. Read/write.

Panes

Returns a Panes collection that represents the panes in the document window. Read-only.

Parent

Returns the parent object for the specified object.

Presentation

Returns a Presentation object that represents the presentation in which the specified document window or slide show window was created. Read-only.

Selection

Returns a Selection object that represents the selection in the specified document window. Read-only.

SplitHorizontal

Returns or sets the percentage of the document window width that the outline pane occupies in normal view. Corresponds to the pane divider position between the slide and outline panes. Read/write.

SplitVertical

Returns or sets the percentage of the document window height that the slide pane occupies in normal view. Corresponds to the pane divider position between the slide and notes panes. Read/write.

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. Read/write.

View

Returns a View object that represents the view in the specified document window. Read-only.

ViewType

Returns or sets the type of the view contained in the specified document window. Read/write.

Width

Returns or sets the width of the specified object, in points. Read/write.

WindowState

Returns or sets the state of the specified window. Read/write.