Shape3D Class
3-D Shape Properties.When the object is serialized out as xml, its qualified name is dgm:sp3d.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Diagrams.Shape3D
Namespace: DocumentFormat.OpenXml.Drawing.Diagrams
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
<ChildElementInfoAttribute(GetType(BevelTop))> _
<ChildElementInfoAttribute(GetType(ContourColor))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(ExtrusionColor))> _
<ChildElementInfoAttribute(GetType(BevelBottom))> _
Public Class Shape3D _
Inherits OpenXmlCompositeElement
'使用
Dim instance As Shape3D
[ChildElementInfoAttribute(typeof(BevelTop))]
[ChildElementInfoAttribute(typeof(ContourColor))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(ExtrusionColor))]
[ChildElementInfoAttribute(typeof(BevelBottom))]
public class Shape3D : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
DocumentFormat.OpenXml.Drawing.BevelTop <a:bevelT>
DocumentFormat.OpenXml.Drawing.BevelBottom <a:bevelB>
DocumentFormat.OpenXml.Drawing.ExtrusionColor <a:extrusionClr>
DocumentFormat.OpenXml.Drawing.ContourColor <a:contourClr>
DocumentFormat.OpenXml.Drawing.ExtensionList <a:extLst>
[ISO/IEC 29500-1 初版]
21.4.5.6 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:
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:
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:
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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。
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.