Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 931 Bytes

Word.View.WrapToWindow.md

File metadata and controls

49 lines (29 loc) · 931 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
View.WrapToWindow property (Word)
vbawd10.chm161808404
vbawd10.chm161808404
Word.View.WrapToWindow
f596f4e6-c404-3b58-93a8-8aca79b60b66
06/08/2017
medium

View.WrapToWindow property (Word)

True if lines wrap at the right edge of the document window rather than at the right margin or the right column boundary. Read/write Boolean.

Syntax

expression. WrapToWindow

expression An expression that returns a 'View' object.

Remarks

This property has no effect in print layout or Web layout view.

Example

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

With ActiveDocument.ActiveWindow.View 
 .Type = wdNormalView 
 .WrapToWindow = True 
End With

See also

View Object

[!includeSupport and feedback]