Share via


highlight element [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

highlight element [Word 2003 XML Reference]

Marks text as highlighted so it stands out from the surrounding text.

Usage

<highlight
    val="highlightColorValues"
/>

Element Information

Element type highlightProperty
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 highlightColorValues required Gets or sets a highlight-color value.
  • black
  • blue
  • cyan
  • green
  • magenta
  • red
  • yellow
  • white
  • dark-blue
  • dark-cyan
  • dark-green
  • dark-magenta
  • dark-red
  • dark-yellow
  • dark-gray
  • light-gray
  • none

Definition

<xsd:element name="highlight" type="highlightProperty" 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