DocumentMapPercentWidth Property Example

This example displays the document map for the active window and sets the map's width to 25 percent of the window's width.

With ActiveDocument.ActiveWindow
    .DocumentMap = True
    .DocumentMapPercentWidth = 25
End With