我写了一个小测试单词addon,我找不到改变单词字体颜色的方法.这是我的代码:
var wordsList = this.Application.ActiveDocument.Words; wordsList[i].Font.TextColor = WdColor.wdColorRed;
这将无法编译,因为TextColor属性没有Setter(ReadOnly).
c# windows ms-word
c# ×1
ms-word ×1
windows ×1