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

DocumentWindows Object (PowerPoint)

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

A collection of all the DocumentWindow objects that are currently open in Microsoft PowerPoint. This collection doesn't include open slide show windows, which are included in the SlideShowWindows collection.


If your Visual Studio solution includes the Microsoft.Office.Interop.PowerPoint reference, this collection maps to the following types:

  • Microsoft.Office.Interop.PowerPoint.DocumentWindows


Use the Windows property to return the DocumentWindows collection. The following example tiles the open document windows.

Windows.Arrange ppArrangeTiled

Use the NewWindow method to create a document window and add it to the DocumentWindows collection. The following example creates a new window for the active presentation.


Use Windows (index), where index is the window index number, to return a single DocumentWindow object. The following example closes document window two.


See also


PowerPoint Object Model Reference

© 2018 Microsoft