ProtectedViewWindow.WindowState Property (Word)
Returns or sets the state of the specified protected view window. Read/write WdWindowState.
Version Information
Version Added: Word 2010
Syntax
expression .WindowState
expression An expression that returns a ProtectedViewWindow object.
Remarks
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.
Example
The following code example minimizes the active protected view window.
ActiveProtectedViewWindow.WindowState = wdWindowStateMinimize