返回或设置在启用修订功能时用于标记格式更改情况的颜色。WdColorIndex,可读写。
WdColorIndex 可以是下列 WdColorIndex 常量之一: |
wdAuto |
wdBlack |
wdBlue |
wdBrightGreen |
wdByAuthor |
wdDarkBlue |
wdDarkRed |
wdDarkYellow |
wdGray25 |
wdGray50 |
wdGreen |
wdNoHighlight |
wdPink |
wdRed |
wdTeal |
wdTurquoise |
wdViolet |
wdWhite |
wdYellow |
expression.RevisedPropertiesColor
expression 必需。该表达式返回一个 Options 对象。
如果删除或插入的文本同时有格式上的更改,则使用 DeletedTextColor 或 InsertedTextColor 属性的设置,而忽略 RevisedPropertiesColor 属性。
本示例跟踪活动文档的修订,将已改变格式的文本的颜色设置为兰绿色,并将加粗格式应用于所选内容。
ActiveDocument.TrackRevisions = True
Options.RevisedPropertiesColor = wdTeal
Selection.Font.Bold = True
This example returns the option selected in the Color box under Track Changes options on the Track Changes tab in the Options dialog box (Tools menu).
temp = Options.RevisedPropertiesColor