Поделиться через


ExcelNonVisualContentPartProperties Class

Defines the ExcelNonVisualContentPartProperties Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is xdr14:nvContentPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Excel.Drawing.ContentPartNonVisualType
        DocumentFormat.OpenXml.Office2010.Excel.Drawing.ExcelNonVisualContentPartProperties

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

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class ExcelNonVisualContentPartProperties _
    Inherits ContentPartNonVisualType
'Usage
Dim instance As ExcelNonVisualContentPartProperties
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class ExcelNonVisualContentPartProperties : ContentPartNonVisualType

Remarks

The following table lists the possible child types:

  • NonVisualDrawingProperties <xdr14:cNvPr>

  • NonVisualInkProperties <xdr14:cNvInkPr>

  • NonVisualInkContentPartProperties <xdr14:cNvContentPartPr>

2.5.63 CT_ContentPartNonVisual

Target namespace: https://schemas.microsoft.com/office/xl/2007/8/2/spreadsheetDrawing

Referenced by: CT_ContentPart

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

Child Elements:

cNvPr : A CT_NonVisualDrawingProps ([ISO/IEC-29500-1] 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 : A CT_NonVisualInkContentPartProperties element that specifies 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.

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:sequence>

</xsd:complexType>

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

ExcelNonVisualContentPartProperties Members

DocumentFormat.OpenXml.Office2010.Excel.Drawing Namespace