tagiles

Accessing the End Points of a Polyline Segment

Discussion created by tagiles on Dec 14, 2010
Latest reply on Dec 15, 2010 by tagiles
This seems so easy in theory, but I can't seem to find out how to get the end points of a polyline segment / polyline.

I have a selected polyline 'pLineF', type esriGeometryPolyline, for which I want to know the start and end points.

I have been able to get at the extent (bounding rectangle) by:
pLineF.Shape.Envelope (as an IEnvelope)

I have tried using pointCollections but cannot seem to get the code right.


I don't need code, if you have any comments please, I just need a push in the right direction.

Cheers,
Tom

Outcomes