Back to Devexpress

HeaderFooterCode.FontColor(Int32, Int32) Method

officefileapi-devexpress-dot-spreadsheet-dot-headerfootercode-dot-fontcolor-x28-system-dot-int32-system-dot-int32-x29.md

latest1.6 KB
Original Source

HeaderFooterCode.FontColor(Int32, Int32) Method

Obtains the formatting code that sets the text font color.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public static string FontColor(
    int themeColorId,
    int tint
)
vb
Public Shared Function FontColor(
    themeColorId As Integer,
    tint As Integer
) As String

Parameters

NameTypeDescription
themeColorIdInt32

An integer that is the Office Theme color Id in the range 0..11.

| | tint | Int32 |

An integer that is the tint\shade value in the range -100..100.

|

Returns

TypeDescription
String

A string that can be used as formatting code in a header or footer.

|

See Also

HeaderFooterCode Class

HeaderFooterCode Members

DevExpress.Spreadsheet Namespace