Color::SetValue method (gdipluscolor.h)

The Color::SetValue method sets the color of this Color object.

Syntax

void SetValue(
  [in] ARGB argb
);

Parameters

[in] argb

Type: ARGB

Thirty-two bit ARGB value that specifies the color. An ARGB value consolidates the alpha, red, green, and blue components of a color. ARGB is defined in Gdipluspixelformats.h.

Return value

None

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::GetValue

Color::MakeARGB