Color::GetAlpha method (gdipluscolor.h)

The Color::GetAlpha method gets the alpha component of this Color object.

Syntax

BYTE GetAlpha();

Return value

Type: BYTE

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