Color::GetR 方法获取此 Color 对象的红色分量。
语法
BYTE GetR();
返回值
类型: BYTE
此方法返回此颜色的红色分量。
要求
| 最低受支持的客户端 | Windows XP、Windows 2000 Professional [仅限桌面应用] |
| 最低受支持的服务器 | Windows 2000 Server [仅限桌面应用] |
| 目标平台 | Windows |
| 标头 | gdipluscolor.h (包括 Gdiplus.h) |
| Library | Gdiplus.lib |
| DLL | Gdiplus.dll |