Share via


ProtectedViewWindow.WindowState Property

Gets or sets the state of the specified protected view window.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property WindowState As WdWindowState
    Get
    Set
'Usage
Dim instance As ProtectedViewWindow
Dim value As WdWindowState

value = instance.WindowState

instance.WindowState = value
WdWindowState WindowState { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdWindowState
The state of the specified protected view window.

Remarks

Read/write. 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.

See Also

Reference

ProtectedViewWindow Interface

ProtectedViewWindow Members

Microsoft.Office.Interop.Word Namespace