Pen::GetDashPatternCount method (gdipluspen.h)

The Pen::GetDashPatternCount method gets the number of elements in a dash pattern array.

Syntax

INT GetDashPatternCount();

Return value

Type: INT

This method returns an integer that indicates the number of elements in the dash pattern array.

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

Drawing a Custom Dashed Line

Pen

Pen::GetDashPattern

Pen::SetDashPattern

Pens, Lines, and Rectangles