Share via


LineFormat.BackColor Property 

Returns a ColorFormat object that represents the specified fill background color.

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

Usage

Dim lineFormat1 As LineFormat

Dim returnValue As ColorFormat
returnValue = lineFormat1.BackColor

Dim sampleValue As ColorFormat
lineFormat1.BackColor = sampleValue

Syntax

Property BackColor() As ColorFormat
ColorFormat BackColor {get; set;}
property ColorFormat^ BackColor{
    ColorFormat^ get();
    Void set(ColorFormat^);
}
public ColorFormat get_BackColor();
public void set_BackColor(ColorFormat);
function get BackColor() : ColorFormat;
function set BackColor(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

LineFormat Interface
Microsoft.Office.Interop.Excel Namespace

Other Resources

LineFormat Members