Freigeben über


Drawing-Klasse

Defines the Drawing Class. It is the root element of DiagramPersistLayoutPart.When the object is serialized out as xml, its qualified name is dsp:drawing.

Vererbungshierarchie

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ShapeTree))> _
Public Class Drawing _
    Inherits OpenXmlPartRootElement
'Usage
Dim instance As Drawing
[ChildElementInfoAttribute(typeof(ShapeTree))]
public class Drawing : OpenXmlPartRootElement

Hinweise

The following table lists the possible child types:

  • ShapeTree <dsp:spTree>

2.3.20 drawing

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

A CT_Drawing element that specifies the last successful output of diagram layout. This element is the root element of the Diagram Layout part (see 2.1.1 Diagram Layout).

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

<xsd:element name="drawing" type="CT_Drawing"/>

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

2.5.54 CT_Drawing

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

Referenced by: drawing

This element specifies a visual representation of the last successful layout for a diagram.

Child Elements:

spTree : A CT_GroupShape element that specifies the top level group shape which represents the last output of layout.

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

<xsd:complexType name="CT_Drawing">

<xsd:sequence>

<xsd:element name="spTree" type="CT_GroupShape" 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

Drawing-Member

DocumentFormat.OpenXml.Office.Drawing-Namespace