Share via


DocumentWindow.Panes Property

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

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

Syntax

'Declaration
ReadOnly Property Panes As Panes
    Get
'Usage
Dim instance As DocumentWindow
Dim value As Panes

value = instance.Panes
Panes Panes { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.Panes
Panes

Examples

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

Reference

DocumentWindow Interface

DocumentWindow Members

Microsoft.Office.Interop.PowerPoint Namespace