title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
ProtectedViewWindow.WindowState property (Word) |
vbawd10.chm231735302 |
|
|
858036ac-b0f2-f312-81f2-d02ace00b2fb |
06/08/2017 |
medium |
Returns or sets the state of the specified Protected View window. Read/write WdWindowState.
expression.WindowState
expression An expression that returns a 'ProtectedViewWindow' object.
The wdWindowStateNormal constant indicates a window that is not maximized or minimized. The state of an inactive window cannot be set. Use the Activate method to activate a window prior to setting the window state.
The following code example minimizes the active Protected View window.
ActiveProtectedViewWindow.WindowState = wdWindowStateMinimize
[!includeSupport and feedback]