Color (NotesRichTextStyle - JavaScript)

Read-Write. Color rich-text attribute as listed below.

Defined in

NotesRichTextStyle

Syntax

getColor() : int

setColor(value:int) : void

Legal value

  • RichTextStyle.COLOR_BLACK
  • RichTextStyle.COLOR_BLUE
  • RichTextStyle.COLOR_CYAN
  • RichTextStyle.COLOR_DARK_BLUE
  • RichTextStyle.COLOR_DARK_CYAN
  • RichTextStyle.COLOR_DARK_GREEN
  • RichTextStyle.COLOR_DARK_MAGENTA
  • RichTextStyle.COLOR_DARK_RED
  • RichTextStyle.COLOR_DARK_YELLOW
  • RichTextStyle.COLOR_GRAY
  • RichTextStyle.COLOR_GREEN
  • RichTextStyle.COLOR_LIGHT_GRAY
  • RichTextStyle.COLOR_MAGENTA
  • RichTextStyle.COLOR_RED
  • RichTextStyle.COLOR_WHITE
  • RichTextStyle.COLOR_YELLOW
  • RichTextStyle.STYLE_NO_CHANGE to maintain the previous state
  • RichTextStyle.MAYBE to maintain previous state