CDC::Polyline

BOOLPolyline(LPPOINTlpPoints**,intnCount);**

Return Value

Nonzero if the function is successful; otherwise 0.

Parameters

lpPoints

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

nCount

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

Remarks

Draws a set of line segments connecting the points specified by lpPoints. 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 in the Win32 SDK Programmer’s Reference.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::LineTo, CDC::Polygon, POINT, CPoint