[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ShapePosition.LockAnchor

LockAnchor Property

LockAnchor

Gets or sets a value indicating whether the anchor location for a shape shall not be modified at runtime when an application edits the contents of this document.

If Type is Inline, this value does not have any effect when displaying the object, but can be maintained and used if the object is subsequently changed to floating.

An application might have automatic behaviors that reposition the anchor for a shape based on user interaction - for example, moving it from one page to another as needed. This property must tell applications not to perform any such behaviors.

Declaration
public bool LockAnchor { get; set; }
Public Property LockAnchor As Boolean