ShowMainTextLayer Property

Microsoft Word Visual Basic

expression.ShowMainTextLayer

expression    Required. An expression that returns a View object.

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