Share via


FontClass.Color Property 

This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim fontClass1 As FontClass

Dim returnValue As WdColor
returnValue = fontClass1.Color

Dim sampleValue As WdColor
fontClass1.Color = sampleValue

Syntax

Public Overridable Property Color() As WdColor
public virtual WdColor Color {get; set;}
public: property WdColor^ Color{
    WdColor^ get();
    Void set(WdColor^);
}
public WdColor get_Color();
public void set_Color(WdColor);
public function get Color() : WdColor;
public function set Color(WdColor);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

FontClass Class
Microsoft.Office.Interop.Word Namespace

Other Resources

FontClass Members