ShowMainTextLayer Property Example

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

With ActiveDocument.ActiveWindow.View
    .Type = wdPrintView
    .SeekView = wdSeekCurrentPageHeader
    .ShowMainTextLayer = False
End With