Compartilhar via


EffectList Class

Effect Container.When the object is serialized out as xml, its qualified name is a:effectLst.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(PresetShadow))> _
<ChildElementInfoAttribute(GetType(SoftEdge))> _
<ChildElementInfoAttribute(GetType(FillOverlay))> _
<ChildElementInfoAttribute(GetType(Glow))> _
<ChildElementInfoAttribute(GetType(InnerShadow))> _
<ChildElementInfoAttribute(GetType(OuterShadow))> _
<ChildElementInfoAttribute(GetType(Reflection))> _
<ChildElementInfoAttribute(GetType(Blur))> _
Public Class EffectList _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As EffectList
[ChildElementInfoAttribute(typeof(PresetShadow))]
[ChildElementInfoAttribute(typeof(SoftEdge))]
[ChildElementInfoAttribute(typeof(FillOverlay))]
[ChildElementInfoAttribute(typeof(Glow))]
[ChildElementInfoAttribute(typeof(InnerShadow))]
[ChildElementInfoAttribute(typeof(OuterShadow))]
[ChildElementInfoAttribute(typeof(Reflection))]
[ChildElementInfoAttribute(typeof(Blur))]
public class EffectList : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Blur <a:blur>

  • FillOverlay <a:fillOverlay>

  • Glow <a:glow>

  • InnerShadow <a:innerShdw>

  • OuterShadow <a:outerShdw>

  • PresetShadow <a:prstShdw>

  • Reflection <a:reflection>

  • SoftEdge <a:softEdge>

[ISO/IEC 29500-1 1st Edition]

20.1.8.26 effectLst (Effect Container)

This element specifies a list of effects. Effects in an effectLst are applied in the default order by the rendering engine. The following diagrams illustrate the order in which effects are applied, both for shapes and for group shapes.

[Note: The output of many effects does not include the input shape. For effects that should be applied to the result of previous effects as well as the original shape, a container is used to group the inputs together. end note]

[Example: Outer Shadow is applied both to the original shape and the original shape's glow. The result of blur contains the original shape, while the result of glow contains only the added glow. Therefore, a container that groups the blur result with the glow result is used as the input to Outer Shadow. end example]

DocumentFormat.OpenXml.Drawing.EffectList-image001DocumentFormat.OpenXml.Drawing.EffectList-image002

Parent Elements

bg (§21.4.3.1); bgPr (§19.3.1.2); defRPr (§21.1.2.3.2); effect (§20.1.4.2.7); effectStyle (§20.1.4.1.11); endParaRPr (§21.1.2.2.3); grpSpPr (§21.3.2.14); grpSpPr (§20.1.2.2.22); grpSpPr (§20.5.2.18); grpSpPr (§19.3.1.23); rPr (§21.1.2.3.9); spPr (§21.2.2.197); spPr (§21.3.2.23); spPr (§21.4.3.7); spPr (§20.1.2.2.35); spPr (§20.2.2.6); spPr (§20.5.2.30); spPr (§19.3.1.44); tblPr (§21.1.3.15); whole (§21.4.3.9)

Child Elements

Subclause

blur (Blur Effect)

§20.1.8.15

fillOverlay (Fill Overlay Effect)

§20.1.8.29

glow (Glow Effect)

§20.1.8.32

innerShdw (Inner Shadow Effect)

§20.1.8.40

outerShdw (Outer Shadow Effect)

§20.1.8.45

prstShdw (Preset Shadow)

§20.1.8.49

reflection (Reflection Effect)

§20.1.8.50

softEdge (Soft Edge Effect)

§20.1.8.53

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

EffectList Members

DocumentFormat.OpenXml.Drawing Namespace