DocumentWindow.WindowState Property
Returns or sets the state of the specified window. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property WindowState As PpWindowState
Get
Set
'Usage
Dim instance As DocumentWindow
Dim value As PpWindowState
value = instance.WindowState
instance.WindowState = value
PpWindowState WindowState { get; set; }
Property Value
Type: Microsoft.Office.Interop.PowerPoint.PpWindowState
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.
Examples
This example maximizes the first member of the DocumentWindows collection.
Windows(1).WindowState= ppWindowMaximized