Shape3D class
3-D Shape Properties. When the object is serialized out as xml, its qualified name is dgm:sp3d.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Diagrams.Shape3D
Namespace: DocumentFormat.OpenXml.Drawing.Diagrams
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
sp3d (3-D Shape Properties)
A set of 3-D properties which a shape can contain.
Parent Elements |
|---|
styleLbl (§21.4.5.10) |
Child Elements | Subclause |
|---|---|
bevelB (Bottom Bevel) | §20.1.5.3 |
bevelT (Top Bevel) | §20.1.5.4 |
contourClr (Contour Color) | §20.1.5.6 |
extLst (Extension List) | §20.1.2.2.15 |
extrusionClr (Extrusion Color) | §20.1.5.7 |
Attributes | Description |
|---|---|
contourW (Contour Width) Namespace: .../drawingml/2006/main | Defines the width of the contour on the shape. [Example: Consider the following example of a contourW in use within the sp3d element: <a:sp3d extrusionH="165100" contourW="50800" prstMaterial="plastic">
<a:bevelT w="254000" h="254000"/>
<a:bevelB w="254000" h="254000"/>
<a:extrusionClr>
<a:srgbClr val="FF0000"/>
</a:extrusionClr>
<a:contourClr>
<a:schemeClr val="accent3"/>
</a:contourClr>
</a:sp3d>In this example, we see a countourW defined as 50800. end example] The possible values for this attribute are defined by the ST_PositiveCoordinate simple type (§20.1.10.42). |
extrusionH (Extrusion Height) Namespace: .../drawingml/2006/main | Defines the height of the extrusion applied to the shape. [Example: Consider the following example of an extrusionH in use within the sp3d element: <a:sp3d extrusionH="165100" contourW="50800" prstMaterial="plastic">
<a:bevelT w="254000" h="254000"/>
<a:bevelB w="254000" h="254000"/>
<a:extrusionClr>
<a:srgbClr val="FF0000"/>
</a:extrusionClr>
<a:contourClr>
<a:schemeClr val="accent3"/>
</a:contourClr>
</a:sp3d>In this example, we see a extrusionH defined as 165100. end example] The possible values for this attribute are defined by the ST_PositiveCoordinate simple type (§20.1.10.42). |
prstMaterial (Preset Material Type) Namespace: .../drawingml/2006/main | Defines the preset material which is combined with the lighting properties to give the final look and feel of a shape. [Example: Consider the following example of a prstMaterial in use within the sp3d element: <a:sp3d extrusionH="165100" contourW="50800" prstMaterial="plastic">
<a:bevelT w="254000" h="254000"/>
<a:bevelB w="254000" h="254000"/>
<a:extrusionClr>
<a:srgbClr val="FF0000"/>
</a:extrusionClr>
<a:contourClr>
<a:schemeClr val="accent3"/>
</a:contourClr>
</a:sp3d>In this example, we see a prstMaterial defined as plastic. end example] The possible values for this attribute are defined by the ST_PresetMaterialType simple type (§20.1.10.50). |
z (Shape Depth) Namespace: .../drawingml/2006/main | Defines the z coordinate for the 3D shape. The possible values for this attribute are defined by the ST_Coordinate simple type (§20.1.10.16). |
[Note: The W3C XML Schema definition of this element’s content model (CT_Shape3D) is located in §A.4.1. end note]
© ISO/IEC29500: 2008.