Skip to content

Latest commit

 

History

History
61 lines (34 loc) · 1.12 KB

File metadata and controls

61 lines (34 loc) · 1.12 KB
title DocumentWindow.WindowState property (PowerPoint)
keywords vbapp10.chm511009
f1_keywords
vbapp10.chm511009
api_name
PowerPoint.DocumentWindow.WindowState
ms.assetid 7f0ce168-0339-03f0-11e4-dc7935c04b85
ms.date 06/08/2017
ms.localizationpriority medium

DocumentWindow.WindowState property (PowerPoint)

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

Syntax

expression.WindowState

expression A variable that represents a DocumentWindow object.

Return value

PpWindowState

Remarks

The value of the WindowState property can be one of these PpWindowState constants.

ppWindowMaximized
ppWindowMinimized
ppWindowNormal

When the state of the window is ppWindowNormal, the window is neither maximized nor minimized.

Example

This example maximizes the first member of the DocumentWindows collection.

Windows(1).WindowState = ppWindowMaximized

See also

DocumentWindow Object

[!includeSupport and feedback]