Skip to main content

dxSpreadSheetGetStandardColorIndex(TColor) Method

Returns the specified color’s index in the array of standard Excel colors.

Declaration

function dxSpreadSheetGetStandardColorIndex(const AColor: TColor): Integer;

Parameters

Name Type
AColor TColor

Returns

Type
Integer

Remarks

If the color passed as the AColor parameter exists in the dxExcelStandardColors array, this function returns its index. Otherwise, -1 is returned.

See Also