Color::GetR method (gdipluscolor.h)

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

Syntax

BYTE GetR();

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

Color::GetB

Color::GetBlue

Color::GetG

Color::GetGreen

Color::GetR

Color::GetRed

Color::GetValue