View.ShowObjectAnchors Property

Word Developer Reference

True if object anchors are displayed next to items that can be positioned in print layout view. Read/write Boolean.

Syntax

expression.ShowObjectAnchors

expression   An expression that returns a View object.

Example

This example adds a frame around the selection, switches the active window to print layout view, and shows object anchors for framed objects.

Visual Basic for Applications
  Selection.Frames.Add(Range:=Selection.Range).LockAnchor = True
With ActiveDocument.ActiveWindow.View
    .Type = wdPrintView
    .ShowObjectAnchors = True
End With

See Also