Pen::GetDashStyle 方法获取当前为此笔对象设置的短划线样式。
语法
DashStyle GetDashStyle();
返回值
类型: DashStyle
此方法返回 DashStyle 枚举的元素,该元素指示此 Pen 对象的短划线样式。
要求
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 | Windows XP、Windows 2000 Professional [仅限桌面应用] |
| 最低受支持的服务器 | Windows 2000 Server [仅限桌面应用] |
| 目标平台 | Windows |
| 标头 | gdipluspen.h (包括 Gdiplus.h) |
| Library | Gdiplus.lib |
| DLL | Gdiplus.dll |
另请参阅
Pen::SetDashPattern