WordNonVisualContentPartShapeProperties Class
Defines the WordNonVisualContentPartShapeProperties Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w14:nvContentPartPr.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Word.WordContentPartNonVisualType
DocumentFormat.OpenXml.Office2010.Word.WordNonVisualContentPartShapeProperties
Namespace: DocumentFormat.OpenXml.Office2010.Word
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class WordNonVisualContentPartShapeProperties _
Inherits WordContentPartNonVisualType
用法
Dim instance As WordNonVisualContentPartShapeProperties
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class WordNonVisualContentPartShapeProperties : WordContentPartNonVisualType
Remarks
The following table lists the possible child types:
NonVisualDrawingProperties <w14:cNvPr>
NonVisualInkProperties <w14:cNvInkPr>
NonVisualInkContentPartProperties <w14:cNvContentPartPr>
2.5.43 CT_WordContentPartNonVisual
Target namespace: https://schemas.microsoft.com/office/word/2008/9/12/wordm
Referenced by: CT_WordContentPart
A complex type which specifies non-visual properties for CT_WordContentPart.
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 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_WordContentPartNonVisual">
<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.4 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.