Skip to content

Files

Latest commit

 

History

History
60 lines (32 loc) · 1.59 KB

PowerPoint.DocumentWindows.md

File metadata and controls

60 lines (32 loc) · 1.59 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
DocumentWindows object (PowerPoint)
vbapp10.chm509000
vbapp10.chm509000
PowerPoint.DocumentWindows
84ed4b8c-593a-8100-d4b8-158115c4e84d
06/08/2017
medium

DocumentWindows object (PowerPoint)

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.

Remarks

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

  • Microsoft.Office.Interop.PowerPoint.DocumentWindows

Example

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.

ActivePresentation.NewWindow

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

Windows(2).Close

See also

PowerPoint Object Model Reference

[!includeSupport and feedback]