CDC::Polyline

This method 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 method, the Polyline method neither uses nor updates the current position.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL Polyline( LPPOINT lpPoints, int nCount );

See Also

CDC::LineTo, CDC::Polygon, CPoint