Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Draws multiple series of connected line segments.

BOOL PolyPolyline( 
   const POINT* lpPoints, 
   const DWORD* lpPolyPoints, 
   int nCount  


Points to an array of structures that contains the vertices of the polylines. The polylines are specified consecutively.


Points to an array of variables specifying the number of points in the lpPoints array for the corresponding polygon. Each entry must be greater than or equal to 2.


Specifies the total number of counts in the lpPolyPoints array.

Nonzero if the function is successful; otherwise 0.

The line segments are drawn by using the current pen. The figures formed by the segments are not filled. The current position is neither used nor updated by this function.

Header: afxwin.h

© 2015 Microsoft