BrowseToWindow Property

Applies To

Pane object, View object.

Description

Pane object: True if lines wrap at the right edge of the pane rather than at the right margin of the page. Read/write Boolean.

View object: True if lines wrap at the right edge of the window rather than at the right margin of the page. Can be True, False, or wdUndefined. Read/write Long.

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

See Also

BrowseWidth property, WrapToWindow property.

Example

This example wraps the text to fit within the active window.

With ActiveWindow.View
    .Type = wdOnlineView
    .BrowseToWindow = True
End With
This example wraps the text to fit within the active window pane.

With ActiveWindow
    .View.Type = wdOnlineView
    .ActivePane.BrowseToWindow = True
End With