Share via


View.ShowFirstLineOnly Property (Word)

True if only the first line of body text is shown in outline view. Read/write Boolean.

Syntax

expression .ShowFirstLineOnly

expression An expression that returns a View object.

Remarks

This property generates an error if the view isn't outline or master document view.

Example

This example switches the active window to outline view and hides all but the first line of body text.

With ActiveDocument.ActiveWindow.View 
 .Type = wdOutlineView 
 .ShowFirstLineOnly = True 
End With

See Also

Concepts

View Object

View Object Members