Partager via


ShapeRange.LockAnchor Property (Word)

True if the anchor for the specified ShapeRange object is locked to the anchoring range. Read/write Long.

Syntax

expression .LockAnchor

expression Required. A variable that represents a ShapeRange object.

Remarks

When a range of shapes has a locked anchor, you cannot move the shapes' anchor by dragging it. The anchor does not move as the shape is moved.

A ShapeRange object is anchored to a range of text, but you can position it anywhere on the page. If the range of shapes is anchored to the beginning of the first paragraph that contains the anchoring range, the shapes always remain on the same page as the anchor.

See Also

Concepts

ShapeRange Collection Object

ShapeRange Object Members