View.ShowTextBoundaries property (Word)

True if dotted lines are displayed around page margins, text columns, objects, and frames in print layout view. Read/write Boolean.

Syntax

expression. ShowTextBoundaries

expression An expression that returns a 'View' object.

Example

This example switches the active window to page view and displays text boundary lines.

With ActiveDocument.ActiveWindow.View 
 .Type = wdPrintView 
 .ShowTextBoundaries = True 
End With

See also

View Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.