This document is archived and information here might be outdated. Recommended version. |
Sets this line's endpoints to be 'from' and 'to'.
[Visual Basic .NET] Public Sub PutCoords ( _ ByVal from As IPoint, _ ByVal to As IPoint _ )
[C#] public void PutCoords ( IPoint from, IPoint to );
[C++]
HRESULT PutCoords(
IPoint* from,
IPoint* to
);
The PutCoords method sets the From Point and To Point for a line object. If the From Point and To Point are identical, it creates a zero Length line with the same start and endpoint.