<lock> (Shape Protections)
This element specifies locks against actions that can be effected in the UI of an authoring application or programmatically through an object model.
<v:shape ... > <o:lock v:ext="edit" aspectratio="t" text="t"/> </v:shape>
Parent Elements  | 
|---|
  | 
Attributes  | 
Description  | 
|---|---|
  | 
Specifies whether the handles of a shape are locked from being edited.  Default is  The possible values for this attribute are defined by the ST_TrueFalse simple type (§6.2.3.23).  | 
  | 
Specifies whether the aspect ratio of a shape is locked from being edited.  Default is  The possible values for this attribute are defined by the ST_TrueFalse simple type (§6.2.3.23).  | 
  | 
Specifies whether cropping of a shape is locked from being edited.  Default is  The possible values for this attribute are defined by the ST_TrueFalse simple type (§6.2.3.23).  | 
 Namespace: urn:schemas-microsoft-com:vml  | 
Specifies an optional value that indicates how applications that implement VML should interpret extensions not defined as part of the original specification of core VML. [: This part of the original VML specification is included to assist applications that leverage existing VML support in implementing the Office Open XML Format. ] The possible values for this attribute are defined by the ST_Ext simple type (§6.1.3.3).  | 
  | 
Specifies whether a shape is locked from being grouped.  Default is  The possible values for this attribute are defined by the ST_TrueFalse simple type (§6.2.3.23).  | 
  | 
Specifies whether the position of a shape is locked from being edited.  Default is  The possible values for this attribute are defined by the ST_TrueFalse simple type (§6.2.3.23).  | 
  | 
Specifies whether the rotation of a shape is locked from being edited.  Default is  The possible values for this attribute are defined by the ST_TrueFalse simple type (§6.2.3.23).  | 
  | 
Specifies whether the shape is locked from being selectable in an editor.  Default is  The possible values for this attribute are defined by the ST_TrueFalse simple type (§6.2.3.23).  | 
  | 
Specifies whether the AutoShape type is locked from being edited.  Default is  The possible values for this attribute are defined by the ST_TrueFalse simple type (§6.2.3.23).  | 
  | 
Specifies whether the text attached to a shape is locked from being edited.  Default is  The possible values for this attribute are defined by the ST_TrueFalse simple type (§6.2.3.23).  | 
  | 
Specifies whether a grouped shape is locked from being ungrouped.  Default is  The possible values for this attribute are defined by the ST_TrueFalse simple type (§6.2.3.23).  | 
  | 
Specifies whether the vertices of a path are locked from being edited.  Default is  The possible values for this attribute are defined by the ST_TrueFalse simple type (§6.2.3.23).  | 
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Lock">
	<attributeGroup ref="v:AG_Ext"/>
	<attribute name="position" type="ST_TrueFalse" use="optional"/>
	<attribute name="selection" type="ST_TrueFalse" use="optional"/>
	<attribute name="grouping" type="ST_TrueFalse" use="optional"/>
	<attribute name="ungrouping" type="ST_TrueFalse" use="optional"/>
	<attribute name="rotation" type="ST_TrueFalse" use="optional"/>
	<attribute name="cropping" type="ST_TrueFalse" use="optional"/>
	<attribute name="verticies" type="ST_TrueFalse" use="optional"/>
	<attribute name="adjusthandles" type="ST_TrueFalse" use="optional"/>
	<attribute name="text" type="ST_TrueFalse" use="optional"/>
	<attribute name="aspectratio" type="ST_TrueFalse" use="optional"/>
	<attribute name="shapetype" type="ST_TrueFalse" use="optional"/>
</complexType>