This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IL > ILine Interface > ILine.QueryCoords Method (ArcObjects .NET 10.4 SDK) |
Copies the endpoints of this line to 'from' and 'to'.
[Visual Basic .NET] Public Sub QueryCoords ( _ ByVal from As IPoint, _ ByVal to As IPoint _ )
[C#] public void QueryCoords ( IPoint from, IPoint to );
[C++]
HRESULT QueryCoords(
IPoint* from,
IPoint* to
);
Queries the From and To Points of the Line. These are the only parameters necessary to create a well-defined line.