DashStylefunction
Specifies the line style of a line drawn with a Microsoft Windows GDI+ pen. The line can be drawn by using one of several predefined styles or a custom style.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Parameters
| Name | Description | |
|---|---|---|
DashStyleSolid | 0 | |
DashStyleDash | 1 | |
DashStyleDot | 2 | |
DashStyleDashDot | 3 | |
DashStyleDashDotDot | 4 | |
DashStyleCustom | 5 |
Description
The DashStyle enumeration specifies the line style of a line drawn with a Windows GDI+ pen. The line can be drawn by using one of several predefined styles or a custom style.
Remarks
A custom dashed line is created by calling the GdipSetPenDashArray function, which takes an array of values for the dash lengths and the space lengths.
Reference
- Documented in Graphics/GdiPlus Flat Api/GdiPlus Enumerations.md
- Topic: GdiPlus Enumerations