Pen::GetDashCap method (gdipluspen.h)

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

Syntax

DashCap GetDashCap();

Return value

Type: DashCap

This method returns an element of the DashCap enumeration that indicates the dash cap style currently set for this Pen object.

Requirements

Requirement Value
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

DashCap

Drawing a Custom Dashed Line

Pen

Pen::SetDashCap

Pens, Lines, and Rectangles