Partager via


NonVisualContentPartProperties Class

Defines the NonVisualContentPartProperties Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is p14:nvContentPartPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.PowerPoint.NonVisualContentPartProperties

Namespace:  DocumentFormat.OpenXml.Office2010.PowerPoint
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

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

Remarks

The following table lists the possible child types:

  • NonVisualDrawingProperties <p14:cNvPr>

  • NonVisualInkContentPartProperties <p14:cNvContentPartPr>

  • ApplicationNonVisualDrawingProperties <p14:nvPr>

2.5.5 CT_ContentPartNonVisual

Target namespace: https://schemas.microsoft.com/office/powerpoint/2007/7/12/main

Referenced by: nvContentPr

A complex type which specifies non-visual properties for a contentPart element ([ISO/IEC-29500-1] section 19.3.1.14).

Child Elements:

cNvPr : An a:CT_NonVisualDrawingProps ([ISO/IEC-29500-4] section A.4.1) element that specifies the non-visual drawing properties for the content part. This allows for additional information that does not affect the appearance of the content part to be stored.

cNvInkPr : An a14:CT_NonVisualInkContentPartProperties ([MS-ODRAWXML] section 2.5.42) element that specifies non-visual ink properties for the content part. This allows for additional information that does not affect the appearance of ink in the content part to be stored.

nvPr : A p:CT_ApplicationNonVisualDrawingProps ([ISO/IEC-29500-4] section A.3) element that specifies PresentationML Drawing specific non-visual properties for the content part.

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

<xsd:complexType name="CT_ContentPartNonVisual">

<xsd:sequence>

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

<xsd:element name="cNvInkPr" type="a14:CT_NonVisualInkContentPartProperties" minOccurs="0" maxOccurs="1"/>

<xsd:element name="nvPr" type="p:CT_ApplicationNonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>

</xsd:sequence>

</xsd:complexType>

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

NonVisualContentPartProperties Members

DocumentFormat.OpenXml.Office2010.PowerPoint Namespace