_Font.UnderlineColor 属性

定义

返回或设置指定 Font 对象的下划线的 24 位颜色。

public:
 property Microsoft::Office::Interop::Word::WdColor UnderlineColor { Microsoft::Office::Interop::Word::WdColor get(); void set(Microsoft::Office::Interop::Word::WdColor value); };
public Microsoft.Office.Interop.Word.WdColor UnderlineColor { get; set; }
member this.UnderlineColor : Microsoft.Office.Interop.Word.WdColor with get, set
Public Property UnderlineColor As WdColor

属性值

注解

可以是 Visual Basic 的 RGB 函数返回的任何有效WdColor常量或值。

UnderlineColor 属性设置为 wdColorAutomatic 会将下划线的颜色重置为其上方文本的颜色。

适用于