AnchorLock Class
Anchor Location Is Locked.When the object is serialized out as xml, its qualified name is w10:anchorlock.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Vml.Wordprocessing.AnchorLock
Namespace: DocumentFormat.OpenXml.Vml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class AnchorLock _
Inherits OpenXmlLeafElement
'Применение
Dim instance As AnchorLock
public class AnchorLock : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 редакция 1]
14.3.2.1 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 must 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 must have its anchor locked at the current location. This setting is specified as follows:
<wd:anchorLock/>
The anchorLock element's presence specifies that the VML object's current anchor location must not be changed by applications editing this content. end example].
Parent Elements |
---|
arc (§14.1.2.1); curve (§14.1.2.3); group (§14.1.2.7); image (§14.1.2.10); line (§14.1.2.12); oval (§14.1.2.13); polyline (§14.1.2.15); rect (§14.1.2.16); roundrect (§14.1.2.17); shape (§14.1.2.19); shapetype (§14.1.2.20) |
[Note: The W3C XML Schema definition of this element's content model (CT_AnchorLock) is located in §A.6.3. end note]
© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.