Pen::GetCompoundArrayCount method (gdipluspen.h)

The Pen::GetCompoundArrayCount method gets the number of elements in a compound array.

Syntax

INT GetCompoundArrayCount();

Return value

Type: INT

This method returns an integer that indicates the number of elements in the compound 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::GetCompoundArray

Pen::SetCompoundArray

Pens, Lines, and Rectangles