Represents a sort condition which will sort cells based on their fonts colors.

FontColorSortCondition

new FontColorSortCondition(fontColorInfo: WorkbookColorInfo): FontColorSortCondition

Returns FontColorSortCondition

$t: Type

Gets the [[WorkbookColorInfo]] which describes the color by which the cells should be sorted.

get fontColorInfo(): WorkbookColorInfo

Returns WorkbookColorInfo

Inherited from: SortCondition

Gets the value which indicates the sort direction represented by the sort condition. Either SortDirection.Ascending or SortDirection.Descending.

get sortDirection(): SortDirection

Returns SortDirection

Determines whether the [[FontColorSortCondition]] is equal to the specified object.

equals(obj: any): boolean

Parameters

  • obj: any

    The object to test for equality.

Returns boolean

Gets the hash code for the [[FontColorSortCondition]].

getHashCode(): number

Returns number