Freigeben über


Shape3D-Klasse

3-D Shape Properties.When the object is serialized out as xml, its qualified name is dgm:sp3d.

Vererbungshierarchie

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

'Declaration
<ChildElementInfoAttribute(GetType(BevelTop))> _
<ChildElementInfoAttribute(GetType(ContourColor))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(ExtrusionColor))> _
<ChildElementInfoAttribute(GetType(BevelBottom))> _
Public Class Shape3D _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Shape3D
[ChildElementInfoAttribute(typeof(BevelTop))]
[ChildElementInfoAttribute(typeof(ContourColor))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(ExtrusionColor))]
[ChildElementInfoAttribute(typeof(BevelBottom))]
public class Shape3D : OpenXmlCompositeElement

Hinweise

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 1. Ausgabe]

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:

<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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Shape3D-Member

DocumentFormat.OpenXml.Drawing.Diagrams-Namespace