Compartilhar via


LineFormat.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)

Syntax

'Declaration
Property ForeColor As ColorFormat
    Get
    Set
'Usage
Dim instance As LineFormat
Dim value As ColorFormat

value = instance.ForeColor

instance.ForeColor = value
ColorFormat ForeColor { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.ColorFormat

See Also

Reference

LineFormat Interface

LineFormat Members

Microsoft.Office.Interop.Excel Namespace