HighlightColorValues enumeration

Office 2013 and later

Defines the HighlightColorValues enumeration.

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

public enum HighlightColorValues

Member nameDescription
Black Black Highlighting Color. When the item is serialized out as xml, its value is "black".
Blue Blue Highlighting Color. When the item is serialized out as xml, its value is "blue".
Cyan Cyan Highlighting Color. When the item is serialized out as xml, its value is "cyan".
Green Green Highlighting Color. When the item is serialized out as xml, its value is "green".
Magenta Magenta Highlighting Color. When the item is serialized out as xml, its value is "magenta".
Red Red Highlighting Color. When the item is serialized out as xml, its value is "red".
Yellow Yellow Highlighting Color. When the item is serialized out as xml, its value is "yellow".
White White Highlighting Color. When the item is serialized out as xml, its value is "white".
DarkBlue Dark Blue Highlighting Color. When the item is serialized out as xml, its value is "darkBlue".
DarkCyan Dark Cyan Highlighting Color. When the item is serialized out as xml, its value is "darkCyan".
DarkGreen Dark Green Highlighting Color. When the item is serialized out as xml, its value is "darkGreen".
DarkMagenta Dark Magenta Highlighting Color. When the item is serialized out as xml, its value is "darkMagenta".
DarkRed Dark Red Highlighting Color. When the item is serialized out as xml, its value is "darkRed".
DarkYellow Dark Yellow Highlighting Color. When the item is serialized out as xml, its value is "darkYellow".
DarkGray Dark Gray Highlighting Color. When the item is serialized out as xml, its value is "darkGray".
LightGray Light Gray Highlighting Color. When the item is serialized out as xml, its value is "lightGray".
None No Text Highlighting. When the item is serialized out as xml, its value is "none".
Show: