Compartilhar via


Window.DocumentMap Property

Word Developer Reference

True if the document map is visible. Read/write Boolean.

Syntax

expression.DocumentMap

expression   A variable that represents a Window object.

Example

This example toggles the document map for the active window.

Visual Basic for Applications
  ActiveDocument.ActiveWindow.DocumentMap = _
    Not ActiveDocument.ActiveWindow.DocumentMap

This example displays the document map in the window for Sales.doc.

Visual Basic for Applications
  Dim docSales As Document

Set docSales = _ Documents.Open(FileName:="C:\Documents\Sales.doc")

docSales.ActiveWindow.DocumentMap = True

See Also