Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ShapePosition Class / LockAnchor Property

In This Topic
    LockAnchor Property
    In This Topic
    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 WrapFormat.Type is WrapType.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.

    Syntax
    'Declaration
     
    Public Property LockAnchor As System.Boolean
    public System.bool LockAnchor {get; set;}
    See Also