Поделиться через


GraphicFrameLocks Class

Graphic Frame Locks.When the object is serialized out as xml, its qualified name is a:graphicFrameLocks.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • ExtensionList <a:extLst>

[ISO/IEC 29500-1 1st Edition]

20.1.2.2.19 graphicFrameLocks (Graphic Frame Locks)

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

Parent Elements

cNvGraphicFramePr (§21.3.2.4); cNvGraphicFramePr (§20.1.2.2.5); cNvGraphicFramePr (§20.5.2.5); cNvGraphicFramePr (§20.4.2.4); cNvGraphicFramePr (§19.3.1.9)

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 graphic frame. 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.

noDrilldown (Disallow Selection of Child Shapes)

Specifies that the generating application should not allow selecting of objects within the corresponding graphic frame but allow selecting of the graphic frame itself. 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 graphic frame. 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 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 Resize)

Specifies that the generating application should not allow size changes for the corresponding graphic frame. 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 picture. That means also that no picture, shapes or text attached to this picture can be selected if this attribute has been specified. If this attribute is not specified, then a value of false is assumed.

[Note: If this attribute is specified to be true then the graphic frame cannot be selected and the objects within the graphic frame cannot be selected as well. That is the entire graphic frame including all sub-parts are considered un-selectable. end note]

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_GraphicalObjectFrameLocking) 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

GraphicFrameLocks Members

DocumentFormat.OpenXml.Drawing Namespace