Muokkaa

Jaa


View.ShowObjectAnchors property (Word)

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.

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

See also

View Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.