Window.DocumentMap Property (Word)

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.

ActiveDocument.ActiveWindow.DocumentMap = _ 
 Not ActiveDocument.ActiveWindow.DocumentMap

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

Dim docSales As Document 
 
Set docSales = _ 
 Documents.Open(FileName:="C:\Documents\Sales.doc") 
 
docSales.ActiveWindow.DocumentMap = True

See Also

Concepts

Window Object

Window Object Members