Color::GetRed method (gdipluscolor.h)

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

Syntax

BYTE GetRed();

Parameters

This method has no parameters.

Return value

Type: BYTE

This method returns the red component of this color.

Requirements

   
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