EffectStyle Class

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

Inheritance Hierarchy

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

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

Syntax

声明
<ChildElementInfoAttribute(GetType(Scene3DType))> _
<ChildElementInfoAttribute(GetType(EffectList))> _
<ChildElementInfoAttribute(GetType(Shape3DType))> _
<ChildElementInfoAttribute(GetType(EffectDag))> _
Public Class EffectStyle _
    Inherits OpenXmlCompositeElement
用法
Dim instance As EffectStyle
[ChildElementInfoAttribute(typeof(Scene3DType))]
[ChildElementInfoAttribute(typeof(EffectList))]
[ChildElementInfoAttribute(typeof(Shape3DType))]
[ChildElementInfoAttribute(typeof(EffectDag))]
public class EffectStyle : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • EffectList <a:effectLst>

  • EffectDag <a:effectDag>

  • Scene3DType <a:scene3d>

  • Shape3DType <a:sp3d>

[ISO/IEC 29500-1 第 1 个版本]

20.1.4.1.11 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>

DocumentFormat.OpenXml.Drawing.EffectStyle-image00

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. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,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

EffectStyle Members

DocumentFormat.OpenXml.Drawing Namespace