ShowMainTextLayer Property

Applies To

View object.

Description

True if the text in the specified document is visible when the header and footer areas are displayed. This property is equivalent to the Show/Hide Document Text button on the Header and Footer toolbar. Read/write Boolean.

Example

This example displays the document header in the active window and hides the document text.

With ActiveWindow.View
    .Type = wdPageView
    .SeekView = wdSeekCurrentPageHeader
    .ShowMainTextLayer = False
End With