Shape.LockAnchor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the specified Shape object's anchor is locked to the anchoring range.
public:
property int LockAnchor { int get(); void set(int value); };
public int LockAnchor { get; set; }
member this.LockAnchor : int with get, set
Public Property LockAnchor As Integer
Property Value
Remarks
This property returns true if the specified Shape object's anchor is locked to the anchoring range. 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.