Partager via


NonVisualShapeDrawingProperties Class

Connection Non-Visual Shape Properties.When the object is serialized out as xml, its qualified name is xdr:cNvSpPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualShapeDrawingProperties

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

Syntax

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

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.ShapeLocks <a:spLocks>

  • DocumentFormat.OpenXml.Drawing.ExtensionList <a:extLst>

[ISO/IEC 29500-1 1st Edition]

20.5.2.9 cNvSpPr (Connection Non-Visual Shape Properties)

This element specifies the set of non-visual properties for a connection shape. These properties specify all data about the connection shape which do not affect its display within a spreadsheet.

[Example: Consider the shape that has a shape lock applied to it.

<xdr:sp>
  <xdr:nvSpPr>
    <xdr:cNvPr id="2" name="Rectangle 1"/>
    <xdr:cNvSpPr>
      <a:spLocks noGrp="1"/>
    </xdr:cNvSpPr>
   </xdr:nvSpPr>
   ..
</xdr:sp>

This shape lock is stored within the non-visual drawing properties for this shape. end example]

Parent Elements

nvSpPr (§20.5.2.23)

Child Elements

Subclause

extLst (Extension List)

§20.1.2.2.15

spLocks (Shape Locks)

§20.1.2.2.34

Attributes

Description

txBox (Text Box)

Namespace: .../drawingml/2006/main

Specifies that the corresponding shape is a text box and thus should be treated as such by the generating application. If this attribute is omitted then it is assumed that the corresponding shape is not specifically a text box.

[Note: Because a shape is not specified to be a text box does not mean that it cannot have text attached to it. A text box is merely a specialized shape with specific properties. 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_NonVisualDrawingShapeProps) 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

NonVisualShapeDrawingProperties Members

DocumentFormat.OpenXml.Drawing.Spreadsheet Namespace