OuterShadow Class

Outer Shadow Effect.When the object is serialized out as xml, its qualified name is a:outerShdw.

Inheritance Hierarchy

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

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

Syntax

声明
<ChildElementInfoAttribute(GetType(SchemeColor))> _
<ChildElementInfoAttribute(GetType(RgbColorModelPercentage))> _
<ChildElementInfoAttribute(GetType(RgbColorModelHex))> _
<ChildElementInfoAttribute(GetType(HslColor))> _
<ChildElementInfoAttribute(GetType(SystemColor))> _
<ChildElementInfoAttribute(GetType(PresetColor))> _
Public Class OuterShadow _
    Inherits OpenXmlCompositeElement
用法
Dim instance As OuterShadow
[ChildElementInfoAttribute(typeof(SchemeColor))]
[ChildElementInfoAttribute(typeof(RgbColorModelPercentage))]
[ChildElementInfoAttribute(typeof(RgbColorModelHex))]
[ChildElementInfoAttribute(typeof(HslColor))]
[ChildElementInfoAttribute(typeof(SystemColor))]
[ChildElementInfoAttribute(typeof(PresetColor))]
public class OuterShadow : OpenXmlCompositeElement

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.8.45 outerShdw (Outer Shadow Effect)

This element specifies an Outer Shadow Effect.

[Example: The following is an example of an outer shadow effect.

DocumentFormat.OpenXml.Drawing.OuterShadow-image00

end example]

Parent Elements

cont (§20.1.8.20); effectDag (§20.1.8.25); effectLst (§20.1.8.26)

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

Attributes

Description

algn (Shadow Alignment)

Specifies shadow alignment; alignment happens first, effectively setting the origin for scale, skew, and offset.

The possible values for this attribute are defined by the ST_RectAlignment simple type (§20.1.10.53).

blurRad (Blur Radius)

Specifies the blur radius of the shadow.

The possible values for this attribute are defined by the ST_PositiveCoordinate simple type (§20.1.10.42).

dir (Shadow Direction)

Specifies the direction to offset the shadow.

The possible values for this attribute are defined by the ST_PositiveFixedAngle simple type (§20.1.10.44).

dist (Shadow Offset Distance)

Specifies the how far to offset the shadow.

The possible values for this attribute are defined by the ST_PositiveCoordinate simple type (§20.1.10.42).

kx (Horizontal Skew)

Specifies the horizontal skew angle.

The possible values for this attribute are defined by the ST_FixedAngle simple type (§20.1.10.23).

ky (Vertical Skew)

Specifies the vertical skew angle.

The possible values for this attribute are defined by the ST_FixedAngle simple type (§20.1.10.23).

rotWithShape (Rotate With Shape)

Specifies whether the shadow rotates with the shape if the shape is rotated.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

sx (Horizontal Scaling Factor)

Specifies the horizontal scaling factor; negative scaling causes a flip.

The possible values for this attribute are defined by the ST_Percentage simple type (§20.1.10.40).

sy (Vertical Scaling Factor)

Specifies the vertical scaling factor; negative scaling causes a flip.

The possible values for this attribute are defined by the ST_Percentage simple type (§20.1.10.40).

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

OuterShadow Members

DocumentFormat.OpenXml.Drawing Namespace