Table of contents
TOC
Collapse the table of content
Expand the table of content

Window.WindowState Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns or sets a PbWindowState constant indicating the state of the Microsoft Publisher window. Read/write.

Syntax

expression. WindowState

_expression_A variable that represents a Window object.

Return Value

PbWindowState

Remarks

The WindowState property value can be one of these PbWindowState constants.

| pbWindowStateMaximize| | pbWindowStateMinimize| | pbWindowStateNormal| When the state of the window is pbWindowStateNormal, the window is neither maximized nor minimized.

Example

This example maximizes the Publisher window.

ActiveWindow.WindowState = pbWindowStateMaximized
© 2018 Microsoft