Freigeben über


ShapeNonVisualProperties-Klasse

Defines the ShapeNonVisualProperties Class.When the object is serialized out as xml, its qualified name is dsp:nvSpPr.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office.Drawing.ShapeNonVisualProperties

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

Syntax

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

Hinweise

The following table lists the possible child types:

  • NonVisualDrawingProperties <dsp:cNvPr>

  • NonVisualDrawingShapeProperties <dsp:cNvSpPr>

2.5.50 CT_ShapeNonVisual

Target namespace: https://schemas.microsoft.com/office/drawing/2008/diagram

Referenced by: CT_Shape

This element specifies all non-visual properties for a shape. This element is a container for the non-visual identification properties, shape properties and application properties that are to be associated with a shape. This allows for additional information that does not affect the appearance of the shape to be stored.

Child Elements:

cNvPr : A CT_NonVisualDrawingProps [ISO/IEC-29500-1] section A.4.1 element that specifies non-visual drawing properties for this shape.

cNvSpPr : A CT_NonVisualDrawingShapeProps [ISO/IEC-29500-1] section A.4.1 element that specifies all non-visual shape drawing properties for this shape.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_ShapeNonVisual">

<xsd:sequence>

<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>

<xsd:element name="cNvSpPr" type="a:CT_NonVisualDrawingShapeProps" minOccurs="1" maxOccurs="1"/>

</xsd:sequence>

</xsd:complexType>

See section 5.8 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

ShapeNonVisualProperties-Member

DocumentFormat.OpenXml.Office.Drawing-Namespace