共用方式為


NonVisualDrawingProperties Class

Defines the NonVisualDrawingProperties Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is dgm14:cNvPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Drawing.Diagram.NonVisualDrawingProperties

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(HyperlinkOnClick))> _
<ChildElementInfoAttribute(GetType(NonVisualDrawingPropertiesExtensionList))> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(HyperlinkOnHover))> _
Public Class NonVisualDrawingProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As NonVisualDrawingProperties
[ChildElementInfoAttribute(typeof(HyperlinkOnClick))]
[ChildElementInfoAttribute(typeof(NonVisualDrawingPropertiesExtensionList))]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(HyperlinkOnHover))]
public class NonVisualDrawingProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.HyperlinkOnClick <a:hlinkClick>

  • DocumentFormat.OpenXml.Drawing.HyperlinkOnHover <a:hlinkHover>

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

2.3.18 cNvPr

Target namespace: https://schemas.microsoft.com/officeart/2007/7/20/diagram

A CT_NonVisualDrawingProps ([ISO/IEC-29500-1] section A.4.1) element that specifies the non-visual drawing properties for a point in the data model. This allows for additional information that does not affect the appearance of the point to be stored.<8>

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

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

See section 5.7 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

NonVisualDrawingProperties Members

DocumentFormat.OpenXml.Office2010.Drawing.Diagram Namespace