Pen::GetDashStyle method (gdipluspen.h)

The Pen::GetDashStyle method gets the dash style currently set for this Pen object.

Syntax

DashStyle GetDashStyle();

Return value

Type: DashStyle

This method returns an element of the DashStyle enumeration that indicates the dash style for this Pen object.

Requirements

   
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdipluspen.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

DashStyle

Drawing a Custom Dashed Line

Pen

Pen::GetDashCap

Pen::GetDashOffset

Pen::GetDashPattern

Pen::GetDashPatternCount

Pen::SetDashCap

Pen::SetDashOffset

Pen::SetDashPattern

Pen::SetDashStyle

Pens, Lines, and Rectangles