Table of contents
TOC
折叠目录
展开目录

DocumentWindow.WindowState 属性 (PowerPoint)DocumentWindow.WindowState Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回或设置指定窗口的状态。可读/写。Returns or sets the state of the specified window. Read/write.

语法Syntax

表达式WindowStateexpression. WindowState

表达式_一个表示一个新建窗口对象的变量。_expression A variable that represents a DocumentWindow object.

返回值Return Value

可读PpWindowState

注解Remarks

WindowState属性的值可以是其中一个常量。The value of the WindowState property can be one of these PpWindowState constants.

|| |:-----| |ppWindowMaximizedppWindowMaximized| |ppWindowMinimizedppWindowMinimized| |ppWindowNormalppWindowNormal| PpWindowNormal窗口的状态时,该窗口是既不最大化也非最小化。When the state of the window is ppWindowNormal, the window is neither maximized nor minimized.

示例Example

此示例最大化DocumentWindows集合的第一个成员。This example maximizes the first member of the DocumentWindows collection.

Windows(1).WindowState = ppWindowMaximized

另请参阅See also

概念Concepts

新建窗口对象DocumentWindow Object

© 2018 Microsoft