Table of contents
TOC
Collapse the table of content
Expand the table of content

DocumentWindow.Panes Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression. Panes

expression A variable that represents a DocumentWindow object.

Return Value

Panes

Example

This example tests for the number of panes in the active window. If the value is one, indicating any view other that normal view, normal view is activated.

If ActiveWindow.Panes.Count = 1 Then

    ActiveWindow.ViewType = ppViewNormal

End If

See also

Concepts

DocumentWindow Object

© 2018 Microsoft