Pane Members (Word)

Represents a window pane. The Pane object is a member of the Panes collection. The Panes collection includes all the window panes for a single window.

Methods

Name

Description

Activate

Activates the specified pane.

AutoScroll

Scrolls automatically through the specified pane.

Close

Closes the specified Mail Merge data source, pane, or task.

LargeScroll

Scrolls a window or pane by the specified number of screens.

NewFrameset

Creates a new frames page based on the specified pane.

PageScroll

Scrolls through the specified window page by page.

SmallScroll

Scrolls a window by the specified number of lines.

TOCInFrameset

Creates a table of contents based on the specified document and puts it in a new frame on the left side of the frames page.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

BrowseWidth

Returns the width (in points) of the area in which text wraps in the specified pane. Read-only Long.

Creator

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

DisplayRulers

True if rulers are displayed for the specified pane. Read/write Boolean.

DisplayVerticalRuler

True if a vertical ruler is displayed for the specified pane. Read/write Boolean.

Document

Returns a Document object associated with the specified pane. Read-only.

Frameset

Returns a Frameset object that represents an entire frames page or a single frame on a frames page. Read-only.

HorizontalPercentScrolled

Returns or sets the horizontal scroll position as a percentage of the document width. Read/write Long.

Index

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

MinimumFontSize

Returns or sets the minimum font size (in points) displayed for the specified pane. Read/write Long.

Next

Returns a Pane object that represents the next document pane in the collection. Read-only.

Pages

Returns a Pages collection that represents the pages in a document.

Parent

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

Previous

Returns a Pane object that represents the previous document pane in the collection. Read-only.

Selection

Returns the Selection object that represents a selection or the insertion point within a document pane. Read-only.

VerticalPercentScrolled

Returns or sets the vertical scroll position as a percentage of the document length. Read/write Long.

View

Returns a View object that represents the view for the specified pane.

Zooms

Returns a Zooms collection that represents the magnification options for each view (such as normal view, outline view or print layout view).