This method draws a line from the current position up to, but not including, the point specified by x and y (or point).
| 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 |
BOOL LineTo( int x, int y );
BOOL LineTo( POINT point );
CDC::MoveTo, CDC::GetCurrentPosition, CPoint