ArcObjects Library Reference (Geometry)  

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 _
)
[C#]
public void QueryCoords (
    IPoint from,
    IPoint to
);
[C++]
HRESULT QueryCoords(
  IPoint* from,
  IPoint* to
);
[C++]

Parameters

from

  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.

Description

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

Remarks

 

Line QueryCoords Example

See Also

ILine Interface