Export (0) Print
Expand All

EffectStyle class

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

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

[ChildElementInfoAttribute(typeof(EffectDag))]
[ChildElementInfoAttribute(typeof(Shape3DType))]
[ChildElementInfoAttribute(typeof(Scene3DType))]
[ChildElementInfoAttribute(typeof(EffectList))]
public class EffectStyle : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

effectStyle (Effect Style)

This element defines a set of effects and 3D properties that can be applied to an object.

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

<effectStyle>
  <effectLst>
    <outerShdw blurRad="57150" dist="38100" dir="5400000" algn="ctr"      rotWithShape="0">
      <schemeClr val="phClr">
        <shade val="9000"/>
        <satMod val="105000"/>
        <alpha val="48000"/>
      </schemeClr>
    </outerShdw>
  </effectLst>
</effectStyle>

In this example, an outer shadow is being applied to a shape as the moderate effect. end example]

Parent Elements

effectStyleLst (§20.1.4.1.12)

Child Elements

Subclause

effectDag (Effect Container)

§20.1.8.25

effectLst (Effect Container)

§20.1.8.26

scene3d (3D Scene Properties)

§20.1.4.1.26

sp3d (Apply 3D shape properties)

§20.1.5.12

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

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show:
© 2014 Microsoft