Partager via


EffectStyleList Class

Effect Style List.When the object is serialized out as xml, its qualified name is a:effectStyleLst.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.EffectStyleList

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(EffectStyle))> _
Public Class EffectStyleList _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As EffectStyleList
[ChildElementInfoAttribute(typeof(EffectStyle))]
public class EffectStyleList : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • EffectStyle <a:effectStyle>

[ISO/IEC 29500-1 1st Edition]

20.1.4.1.12 effectStyleLst (Effect Style List)

This element defines a set of three effect styles that create the effect style list for a theme. The effect styles are arranged in order of subtle to moderate to intense.

[Example: Consider the following example of an effect style list within DrawingML:

<effectStyleLst>
<effectStyle>
<effectLst>
<outerShdw blurRad="57150" dist="38100" dir="5400000"
algn="ctr" rotWithShape="0">
…
</outerShdw>
</effectLst>
</effectStyle>
  <effectStyle>
<effectLst>
<outerShdw blurRad="57150" dist="38100" dir="5400000"
algn="ctr" rotWithShape="0">
…
</outerShdw>
</effectLst>
</effectStyle>
  <effectStyle>
<effectLst>
<outerShdw blurRad="57150" dist="38100" dir="5400000"
algn="ctr" rotWithShape="0">
…
</outerShdw>
</effectLst>
    <scene3d>
…
</scene3d>
<sp3d prstMaterial="powder">
…
</sp3d>
</effectStyle>
</effectStyleLst>

In this example, we see three effect styles defined. The first two (subtle and moderate) define an outer shadow as the effect, while the third effect style (intense) defines an outer shadow along with 3D properties which are to be applied to the object as well. end example]

Parent Elements

fmtScheme (§20.1.4.1.14)

Child Elements

Subclause

effectStyle (Effect Style)

§20.1.4.1.11

[Note: The W3C XML Schema definition of this element’s content model (CT_EffectStyleList) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

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

EffectStyleList Members

DocumentFormat.OpenXml.Drawing Namespace