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
);
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
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.
Remarks