跳到主要内容

highlightColor

可用的高亮颜色。

类型

枚举

  • "black"
  • "blue"
  • "cyan"
  • "green"
  • "magenta"
  • "red"
  • "yellow"
  • "white"
  • "darkBlue"
  • "darkCyan"
  • "darkGreen"
  • "darkMagenta"
  • "darkRed"
  • "darkYellow"
  • "darkGray"
  • "lightGray"
  • "none"

示例

This example sets a paragraph highlight to green.

// How to change a highlight color to green.

// Use a green color to highlight the ApiParagraph object.

paragraph.SetHighlight("green");