ShapeLocks Class
Shape Locks.When the object is serialized out as xml, its qualified name is a:spLocks.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.ShapeLocks
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class ShapeLocks _
Inherits OpenXmlCompositeElement
用法
Dim instance As ShapeLocks
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class ShapeLocks : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- ExtensionList <a:extLst>
[ISO/IEC 29500-1 第 1 个版本]
20.1.2.2.34 spLocks (Shape Locks)
This element specifies all locking properties for a shape. These properties inform the generating application about specific properties that have been previously locked and thus should not be changed.
Parent Elements |
---|
cNvSpPr (§21.3.2.8); cNvSpPr (§20.1.2.2.9); cNvSpPr (§20.5.2.9); cNvSpPr (§19.3.1.13) |
Child Elements |
Subclause |
---|---|
extLst (Extension List) |
§20.1.2.2.15 |
Attributes |
Description |
---|---|
noAdjustHandles (Disallow Showing Adjust Handles) |
Specifies that the generating application should not show adjust handles for the corresponding connection shape. If this attribute is not specified, then a value of false is assumed. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
noChangeArrowheads (Disallow Arrowhead Changes) |
Specifies that the generating application should not allow arrowhead changes for the corresponding connection shape. If this attribute is not specified, then a value of false is assumed. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
noChangeAspect (Disallow Aspect Ratio Change) |
Specifies that the generating application should not allow aspect ratio changes for the corresponding connection shape. If this attribute is not specified, then a value of false is assumed. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
noChangeShapeType (Disallow Shape Type Change) |
Specifies that the generating application should not allow shape type changes for the corresponding connection shape. If this attribute is not specified, then a value of false is assumed. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
noEditPoints (Disallow Shape Point Editing) |
Specifies that the generating application should not allow shape point changes for the corresponding connection shape. If this attribute is not specified, then a value of false is assumed. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
noGrp (Disallow Shape Grouping) |
Specifies that the generating application should not allow shape grouping for the corresponding connection shape. That is it cannot be combined within other shapes to form a group of shapes. If this attribute is not specified, then a value of false is assumed. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
noMove (Disallow Shape Movement) |
Specifies that the generating application should not allow position changes for the corresponding connection shape. If this attribute is not specified, then a value of false is assumed. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
noResize (Disallow Shape Resize) |
Specifies that the generating application should not allow size changes for the corresponding connection shape. If this attribute is not specified, then a value of false is assumed. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
noRot (Disallow Shape Rotation) |
Specifies that the generating application should not allow shape rotation changes for the corresponding connection shape. If this attribute is not specified, then a value of false is assumed. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
noSelect (Disallow Shape Selection) |
Specifies that the generating application should not allow selecting of the corresponding connection shape. That means also that no picture, shapes or text attached to this connection shape can be selected if this attribute has been specified. If this attribute is not specified, then a value of false is assumed. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
noTextEdit (Disallow Shape Text Editing) |
Specifies that the generating application should not allow editing of the shape text for the corresponding shape. If this attribute is not specified, then a value of false is assumed. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
[Note: The W3C XML Schema definition of this element's content model (CT_ShapeLocking) is located in §A.4.1. end note]
© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,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.