Compartilhar via


GroupShapeNonVisualProperties Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • NonVisualDrawingProperties <dsp:cNvPr>

  • NonVisualGroupDrawingShapeProperties <dsp:cNvGrpSpPr>

2.5.52 CT_GroupShapeNonVisual

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

Referenced by: CT_GroupShape

This element specifies all non-visual properties for a group shape. This element is a container for the non-visual shape properties that are to be associated with a group shape. This allows for additional information that does not affect the appearance of the group 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.

cNvGrpSpPr : A CT_NonVisualGroupDrawingShapeProps [ISO/IEC-29500-1] section A.4.1 element that specifies all non-visual group shape drawing properties.

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

<xsd:complexType name="CT_GroupShapeNonVisual">

<xsd:sequence>

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

<xsd:element name="cNvGrpSpPr" type="a:CT_NonVisualGroupDrawingShapeProps" minOccurs="1" maxOccurs="1"/>

</xsd:sequence>

</xsd:complexType>

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

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

GroupShapeNonVisualProperties Members

DocumentFormat.OpenXml.Office.Drawing Namespace