Partager via


Properties3D Class

Defines the Properties3D Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w14:props3d.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Word.Properties3D

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExtrusionColor), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(BevelBottom), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(BevelTop), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ContourColor), FileFormatVersions.Office2010)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class Properties3D _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Properties3D
[ChildElementInfoAttribute(typeof(ExtrusionColor), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(BevelBottom), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(BevelTop), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ContourColor), FileFormatVersions.Office2010)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class Properties3D : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • BevelTop <w14:bevelT>

  • BevelBottom <w14:bevelB>

  • ExtrusionColor <w14:extrusionClr>

  • ContourColor <w14:contourClr>

2.5.28 CT_Props3D

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

Referenced by: wProps3d

Specifies 3D properties associated with text.

Child Elements:

bevelT : A CT_Bevel element that specifies the top bevel of text.

bevelB : A CT_Bevel element that specifies the bottom bevel of text.

extrusionClr : A CT_Color element that specifies the extrusion color. In absence of this element, black is used as default.

contourClr : A CT_Color element that specifies the contour color. In absence of this element, black is used as default.

Attributes:

extrusionH : An ST_PositiveCoordinate (as specified in [ISO/IEC-29500-1] §20.1.10.42) attribute that specifies height of extrusion. This attribute MAY<31> be limited further in the application. Default value for this attribute is 0.

contourW : An ST_PositiveCoordinate (as specified in [ISO/IEC-29500-1] §20.1.10.42) attribute that specifies width of contour. This attribute MAY<32> be limited further in the application. Default value for this attribute is 0.

prstMaterial : An ST_PresetMaterialType attribute that specifies preset material type. Default value for this attribute is warm matte.

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

<xsd:complexType name="CT_Props3D">

<xsd:sequence>

<xsd:element name="bevelT" type="CT_Bevel" minOccurs="0"/>

<xsd:element name="bevelB" type="CT_Bevel" minOccurs="0"/>

<xsd:element name="extrusionClr" type="CT_Color" minOccurs="0"/>

<xsd:element name="contourClr" type="CT_Color" minOccurs="0"/>

</xsd:sequence>

<xsd:attribute name="extrusionH" type="a:ST_PositiveCoordinate" use="optional"/>

<xsd:attribute name="contourW" type="a:ST_PositiveCoordinate" use="optional"/>

<xsd:attribute name="prstMaterial" type="ST_PresetMaterialType" use="optional"/>

</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

Properties3D Members

DocumentFormat.OpenXml.Office2010.Word Namespace