共用方式為


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

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

See Also

Reference

DocumentWindow Interface

DocumentWindow Members

Microsoft.Office.Interop.PowerPoint Namespace