返回或设置从右向左语言的文档中指定的 Font 对象的颜色。WdColorIndex,可读写。
WdColorIndex 可以是下列 WdColorIndex 常量之一: |
wdAuto |
wdBlack |
wdBlue |
wdBrightGreen |
wdByAuthor |
wdDarkBlue |
wdDarkRed |
wdDarkYellow |
wdGray25 |
wdGray50 |
wdGreen |
wdNoHighlight |
wdPink |
wdRed |
wdTeal |
wdTurquoise |
wdViolet |
wdWhite |
wdYellow |
expression.ColorIndexBi
expression 必需。该表达式返回一个 Font 对象。
wdByAuthor 常量对 Font 对象是无效的。
有关在 Microsoft Word 中使用从右向左语言的详细内容,请参阅 Word 从右向左的语言功能。
本示例将 Font 对象的颜色设置为蓝绿色。
Selection.Font.ColorIndexBi = wdTeal