Partilhar via


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

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

Specifies either an automatic color or a hexadecimal color code for this run.

Usage

<color
    val="hexColorType"
/>

Element Information

Element type hexColorProperty
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 hexColorType required Gets or sets a hexadecimal color value in the format of RRGGBB or auto.

Definition

<xsd:element name="color" type="hexColorProperty" 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