Color::GetG method (gdipluscolor.h)

The Color::GetG method gets the green component of this Color object.

Syntax

BYTE GetG();

Return value

Type: BYTE

This method returns the green 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