Поделиться через


ExtrusionColor Class

Extrusion Color.When the object is serialized out as xml, its qualified name is a:extrusionClr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.ColorType
        DocumentFormat.OpenXml.Drawing.ExtrusionColor

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Декларация
Public Class ExtrusionColor _
    Inherits ColorType
'Применение
Dim instance As ExtrusionColor
public class ExtrusionColor : ColorType

Remarks

The following table lists the possible child types:

  • RgbColorModelPercentage <a:scrgbClr>

  • RgbColorModelHex <a:srgbClr>

  • HslColor <a:hslClr>

  • SystemColor <a:sysClr>

  • SchemeColor <a:schemeClr>

  • PresetColor <a:prstClr>

[ISO/IEC 29500-1 редакция 1]

20.1.5.7 extrusionClr (Extrusion Color)

This element defines the color of the extrusion applied to a shape. The extrusion on a shape is an artificial height applied to the geometry.

[Example: Consider the following example of an extrusion which takes advantage of the extrusionClr. Lighting characteristics that are applied to the shape are also applied to the extrusion on the shape.

<a:sp3d extrusionH="139700" prstMaterial="plastic">
<a:bevelT w="254000" h="254000"/>
<a:bevelB w="254000" h="254000"/>
<a:extrusionClr>
<a:srgbClr val="FF0000"/>
</a:extrusionClr>
</a:sp3d>

In this example, we see the extrusion color defined as red which can also be shown applied to the shape in the following image:

DocumentFormat.OpenXml.Drawing.ExtrusionColor-imag

end example]

Parent Elements

sp3d (§21.4.5.6); sp3d (§20.1.5.12)

Child Elements

Subclause

hslClr (Hue, Saturation, Luminance Color Model)

§20.1.2.3.13

prstClr (Preset Color)

§20.1.2.3.22

schemeClr (Scheme Color)

§20.1.2.3.29

scrgbClr (RGB Color Model - Percentage Variant)

§20.1.2.3.30

srgbClr (RGB Color Model - Hex Variant)

§20.1.2.3.32

sysClr (System Color)

§20.1.2.3.33

[Note: The W3C XML Schema definition of this element's content model (CT_Color) 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.

See Also

Reference

ExtrusionColor Members

DocumentFormat.OpenXml.Drawing Namespace