Color::GetRed method (gdipluscolor.h)

The Color::GetRed method gets the red component of this Color object.

Syntax

BYTE GetRed();

Return value

Type: BYTE

This method returns the red component of this color.

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

Color::GetValue