Word .NET > Tutorial > Highlight text

The following example shows you how to highlight text with different colors in a Word document.

C# example
VB example

Available highlight colors:

  • Yellow
  • Green
  • Cyan
  • Magenta
  • Blue
  • Red
  • DarkBlue
  • DarkCyan
  • DarkGreen
  • DarkMagenta
  • DarkRed
  • DarkYellow
  • DarkGray
  • LightGray
  • Black
  • White
  • None (no highlight)

Need help? Ask our developers: