Partager via


GroupShapeLocks Class

Group Shape Locks.When the object is serialized out as xml, its qualified name is a:grpSpLocks.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.GroupShapeLocks

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class GroupShapeLocks _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As GroupShapeLocks
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class GroupShapeLocks : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ExtensionList <a:extLst>

[ISO/IEC 29500-1 1st Edition]

20.1.2.2.21 grpSpLocks (Group Shape Locks)

This element specifies all locking properties for a connection shape. These properties inform the generating application about specific properties that have been previously locked and thus should not be changed.

Parent Elements

cNvGrpSpPr (§21.3.2.5); cNvGrpSpPr (§20.1.2.2.6); cNvGrpSpPr (§20.5.2.6); cNvGrpSpPr (§19.3.1.10)

Child Elements

Subclause

extLst (Extension List)

§20.1.2.2.15

Attributes

Description

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.

noGrp (Disallow Shape Grouping)

Specifies that the corresponding group shape cannot be grouped. 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 Moving Shape)

Specifies that the corresponding graphic frame cannot be moved. Objects that reside within the graphic frame can still be moved unless they also have been locked. 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 Resizing)

Specifies that the corresponding group shape cannot be resized. 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 corresponding group shape cannot be rotated Objects that reside within the group can still be rotated unless they also have been locked. 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 corresponding group shape cannot have any part of it be selected. That means that no picture, shapes or attached text can be selected either if this attribute has been specified. If this attribute is not specified, then a value of false is assumed.

[Note: This property is inherited by sub-elements and thus all shapes within the group shape cannot be selected when this attribute is set to a value of true. end note]

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

noUngrp (Disallow Shape Ungrouping)

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.

[Note: The W3C XML Schema definition of this element’s content model (CT_GroupLocking) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

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.

See Also

Reference

GroupShapeLocks Members

DocumentFormat.OpenXml.Drawing Namespace