ShapeRange.LockAnchor ShapeRange.LockAnchor ShapeRange.LockAnchor Property


True if the specified ShapeRange object's anchor is locked to the anchoring range.

 property int LockAnchor { int get(); void set(int value); };
public int LockAnchor { get; set; }
Public Property LockAnchor As Integer
Property Value


When a shape has a locked anchor, you cannot move the shape's anchor by dragging it (the anchor doesn't move as the shape is moved).

A Shape object is anchored to a range of text, but you can position it anywhere on the page. The shape is anchored to the beginning of the first paragraph that contains the anchoring range. A shape will always remain on the same page as its anchor.

Applies to