Shadow class
Defines the Shadow Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is w14:shadow.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Word.Shadow
Namespace: DocumentFormat.OpenXml.Office2010.Word
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.3.12 shadow
Target namespace: http://schemas.microsoft.com/office/word/2010/wordml
A CT_Shadow element that specifies the shadow effect. By default, text does not have shadow. See section 2.2.1 for how this element integrates with ISO/IEC-29500-1.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
<xsd:element name="shadow" minOccurs="0" type="CT_Shadow"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.5.23 CT_Shadow
Target namespace: http://schemas.microsoft.com/office/word/2010/wordml
Referenced by: shadow
A complex type that specifies the shadow effect.
Child Elements:
srgbClr: A CT_SRgbColor element that specifies the color in the RGB color model.
schemeClr: A CT_SchemeColor element that specifies a color from a theme. Color changes if theme bindings change.
Attributes:
blurRad: An optional ST_PositiveCoordinate (as specified in [ISO/IEC-29500-1] section 20.1.10.42) attribute that specifies the blur radius of the shadow. This attribute MAY<31> be limited further in the application. The default value for this attribute is 0.
dist: An optional ST_PositiveCoordinate (as specified in [ISO/IEC-29500-1] section 20.1.10.42) attribute that specifies how far to offset the shadow. This attribute MAY<32> be limited further in the application. The default value for this attribute is 0.
dir: An optional ST_PositiveFixedAngle (as specified in [ISO/IEC-29500-1] section 20.1.10.44) attribute that specifies the direction to offset the shadow. The default value for this attribute is 0.
sx: An optional ST_Percentage (as specified in [ISO/IEC-29500-4] section 12.1.2.2 and [ISO/IEC-29500-1] section 20.1.10.40) that specifies the horizontal scaling factor. Negative scaling causes a flip. The default value for this attribute is 0.
sy: An optional ST_Percentage (as specified in [ISO/IEC-29500-4] section 12.1.2.2 and [ISO/IEC-29500-1] section 20.1.10.40) that specifies the vertical scaling factor. Negative scaling causes a flip. The default value for this attribute is 0.
kx: An optional ST_FixedAngle (as specified in [ISO/IEC-29500-1] section 20.1.10.23) attribute that specifies the horizontal skew angle. The default value for this attribute is 0.
ky: An optional ST_FixedAngle (as specified in [ISO/IEC-29500-1] section 20.1.10.23) attribute that specifies the vertical skew angle. The default value for this attribute is 0.
algn: An optional ST_RectAlignment attribute that specifies the alignment of the shadow. The default value for this attribute is "none".
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_Shadow">
<xsd:sequence>
<xsd:group ref="EG_ColorChoice"/>
</xsd:sequence>
<xsd:attribute name="blurRad" use="optional" type="a:ST_PositiveCoordinate"/>
<xsd:attribute name="dist" use="optional" type="a:ST_PositiveCoordinate"/>
<xsd:attribute name="dir" use="optional" type="a:ST_PositiveFixedAngle"/>
<xsd:attribute name="sx" use="optional" type="a:ST_Percentage"/>
<xsd:attribute name="sy" use="optional" type="a:ST_Percentage"/>
<xsd:attribute name="kx" use="optional" type="a:ST_FixedAngle"/>
<xsd:attribute name="ky" use="optional" type="a:ST_FixedAngle"/>
<xsd:attribute name="algn" use="optional" type="ST_RectAlignment"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).