Color::Color(ARGB) method (gdipluscolor.h)

Creates a Color::Color object by using an ARGB value.

Syntax

void Color(
  [in] ARGB argb
);

Parameters

[in] argb

Type: ARGB

Value that specifies the alpha, red, green, and blue color components.

Return value

None

Remarks

An ARGB value is a DWORD that contains the alpha, red, green, and blue components of a color. ARGB is defined in Gdipluspixelformats.h.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdipluscolor.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Color

Color Constructors

Color::MakeARGB