[Table of Contents] [docx version]

VML Reference Material - VML

anchorlock (Anchor Location Is Locked)

This element specifies that the anchor location for this object shall not be modified at runtime when an application edits the contents of this document. [Guidance: An application might have automatic behaviors which reposition the anchor for a VML object based on user interaction - for example, moving it from one page to another as needed. This element shall tell applications not to perform any such behaviors. end guidance]

If this element is omitted, then the anchor shall not be locked for the parent VML object.

[Example: Consider a floating VML object which shall have its anchor locked at the current location. This setting would be specified as follows:


The anchorLock element's presence specifies that the VML object's current anchor location shall not be changed by applications editing this content. end example].

Parent Elements

arc6.1.2.1); curve6.1.2.3); group6.1.2.7); image6.1.2.10); line6.1.2.12); oval6.1.2.13); polyline6.1.2.15); rect6.1.2.16); roundrect6.1.2.17); shape6.1.2.19); shapetype6.1.2.20)

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_AnchorLock"/>