Skip to main content

XlColor.FromArgb(Int32) Method

Creates the XlColor object from a 32-bit ARGB value.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public static XlColor FromArgb(
    int argb
)

Parameters

Name Type Description
argb Int32

A value specifying the 32-bit ARGB value.

Returns

Type Description
XlColor

An XlColor class instance.

Remarks

The byte-ordering of the 32-bit ARGB value is AARRGGBB. The most significant byte, represented by AA, is the alpha component value. The second, third, and fourth bytes, represented by RR, GG, and BB, respectively, are the red, green, and blue color components.

See Also