BrowseWidth Property

Applies To

Pane object.

Description

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

Note This property works only when you're in online layout view.

See Also

BrowseToWindow property, DocumentMap property.

Example

This example wraps the text to fit within the active pane, and then it displays a message box that indicates the width of the wrapping text.

With ActiveWindow
    .View.Type = wdOnlineView
    .ActivePane.BrowseToWindow = True
End With
MsgBox PointsToInches _
    (ActiveWindow.ActivePane.BrowseWidth) & "inches"