HatchBrush::GetBackgroundColor 方法获取此阴影画笔的背景色。
语法
Status GetBackgroundColor(
[out] Color *color
);
参数
[out] color
类型: 颜色*
指向接收背景色的 Color 对象的指针。 背景色定义绘制阴影线的颜色。
返回值
类型: 状态
如果方法成功,则返回 Ok,这是 Status 枚举的元素。
如果 方法失败,它将返回 Status 枚举的其他元素之一。
要求
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 | Windows XP、Windows 2000 Professional [仅限桌面应用] |
| 最低受支持的服务器 | Windows 2000 Server [仅限桌面应用] |
| 目标平台 | Windows |
| 标头 | gdiplusbrush.h (包括 Gdiplus.h) |
| Library | Gdiplus.lib |
| DLL | Gdiplus.dll |