Share via


FillFormat.ForeColor Property 

Returns a ColorFormat object that represents the specified foreground fill or solid color.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Usage

Dim fillFormat1 As FillFormat

Dim returnValue As ColorFormat
returnValue = fillFormat1.ForeColor

Dim sampleValue As ColorFormat
fillFormat1.ForeColor = sampleValue

Syntax

Property ForeColor() As ColorFormat
ColorFormat ForeColor {get; set;}
property ColorFormat^ ForeColor{
    ColorFormat^ get();
    Void set(ColorFormat^);
}
public ColorFormat get_ForeColor();
public void set_ForeColor(ColorFormat);
function get ForeColor() : ColorFormat;
function set ForeColor(ColorFormat);

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

FillFormat Interface
Microsoft.Office.Interop.Excel Namespace

Other Resources

FillFormat Members