Share via


shd element (rPrElt complexType) [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

shd element (rPrElt complexType) [Word 2003 XML Reference]

Represents the shading for characters in this run.

Usage

<shd
    val="shdValues"
    color="hexColorType"
    fill="hexColorType"
    wx:bgcolor="[external type]"
/>

Element Information

Element type shdProperty
Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name XML Document 2003

Elements and Attributes

Parent Elements

Element Description
rPr Represents run properties for the paragraph mark.
rPr Represents properties of the contents of this run.
rPr Represents the run properties for the list numbers.
rPr Represents the character properties to override in the table style.
rPr Represents the character properties for the style, if any.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
val shdValues required Gets or sets shading-style values.
  • nil
  • clear
  • solid
  • horz-stripe
  • vert-stripe
  • reverse-diag-stripe
  • diag-stripe
  • horz-cross
  • diag-cross
  • thin-horz-stripe
  • thin-vert-stripe
  • thin-reverse-diag-stripe
  • thin-diag-stripe
  • thin-horz-cross
  • thin-diag-cross
  • pct-5
  • pct-10
  • pct-12
  • pct-15
  • pct-20
  • pct-25
  • pct-30
  • pct-35
  • pct-37
  • pct-40
  • pct-45
  • pct-50
  • pct-55
  • pct-60
  • pct-62
  • pct-65
  • pct-70
  • pct-75
  • pct-80
  • pct-85
  • pct-87
  • pct-90
  • pct-95
color hexColorType optional Gets or sets a foreground-shading color value.
fill hexColorType optional Gets or sets a background-fill color value.
wx:bgcolor external ref optional See external namespace. See external namespace.

Definition

<xsd:element name="shd" type="shdProperty" minOccurs="0" >
</xsd:element>

©2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp