ProtectedViewWindow Members (Word)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a protected view window.

Methods

Name

Description

Activate

Activates the specified protected view window.

Close

Closes the specified protected view window.

Edit

ToggleRibbon

Shows or hides the ribbon.

Properties

Name

Description

Active

True if the specified protected view window is active. Read-only Boolean.

Application

Returns an Application object that represents the Microsoft Word application. Read-only.

Caption

Returns or sets the caption text that is displayed in the title bar of the document or protected view window. Read/write String.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Document

Returns a Document object associated with the protected view window. Read-only.

Height

Returns or sets the height of the protected view window. Read/write Long.

Index

Returns a Long that represents the position of an item in a collection. Read-only.

Left

Returns or sets a Long, in points, that represents the horizontal position of the specified protected view window. Read/write.

Parent

Returns an Object that represents the parent object of the specified ProtectedViewWindow object.

SourceName

Returns the name of the source file for the specified protected view window. Read-only String.

SourcePath

Returns the path of the source file for the specified protected view window. Read-only String.

Top

Returns or sets the vertical position, in points, of the specified protected view window. Read/write Long

Visible

True if the specified protected view window is visible. Read/write. Boolean.

Width

Returns or sets the width, in points, of the specified protectd view window. Read/write Long.

WindowState

Returns or sets the state of the specified protected view window. Read/write WdWindowState.