Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


Draws a set of line segments connecting the points specified by lpPoints.

BOOL Polyline( 
   LPPOINT lpPoints, 
   int nCount  

Points to an array of POINT structures or CPoint objects to be connected.


Specifies the number of points in the array. This value must be at least 2.

Nonzero if the function is successful; otherwise 0.

The lines are drawn from the first point through subsequent points using the current pen. Unlike the LineTo member function, the Polyline function neither uses nor updates the current position.

For more information, see PolyLine in the Windows SDK.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.