ContentPart Class

Defines the ContentPart Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is cdr14:contentPart.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Drawing.ChartDrawing.ContentPart

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

Syntax

声明
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(NonVisualContentProperties), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(NonVisualContentPartProperties), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ApplicationNonVisualDrawingProperties), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Transform2D), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(OfficeArtExtensionList), FileFormatVersions.Office2010)> _
Public Class ContentPart _
    Inherits OpenXmlCompositeElement
用法
Dim instance As ContentPart
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(NonVisualContentProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(NonVisualContentPartProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ApplicationNonVisualDrawingProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Transform2D), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(OfficeArtExtensionList), FileFormatVersions.Office2010)]
public class ContentPart : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • NonVisualContentProperties <cdr14:nvContentPr>

  • NonVisualContentPartProperties <cdr14:nvContentPartPr>

  • ApplicationNonVisualDrawingProperties <cdr14:nvPr>

  • Transform2D <cdr14:xfrm>

  • OfficeArtExtensionList <cdr14:extLst>

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

ContentPart Members

DocumentFormat.OpenXml.Office2010.Drawing.ChartDrawing Namespace