This document is archived and information here might be outdated.  Recommended version.

ILine.QueryCoords Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IL > ILine Interface > ILine.QueryCoords Method
ArcGIS Developer Help

ILine.QueryCoords Method

Copies the endpoints of this line to 'from' and 'to'.

[Visual Basic .NET]
Public Sub QueryCoords ( _
    ByVal from As IPoint, _
    ByVal to As IPoint _
public void QueryCoords (
    IPoint from,
    IPoint to
HRESULT QueryCoords(
  IPoint* from,
  IPoint* to

from is a parameter of type IPoint* to
to is a parameter of type IPoint*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Queries the From and To Points of the Line.  These are the only parameters necessary to create a well-defined line.



Line QueryCoords Example

See Also

ILine Interface