The documentation for Polyline only lists a ton of interfaces. It does not show a property of length in the SDK! And since we are under a tight schedule I do not want to write a ton of code only to find I've gone down a wrong path. So lot's of questions at this moment.
Maybe I'm missing something but IPolyline has a Length property that returns the length of the line. Is this not what you're looking for?
The length of the polyline depends on the coordinate system distortion. The length reported is the length in that coordinate system with distortion, not the length along a geodetic great circle. Use the wrong coordinate system a path of 200kM becomes 300... Assuming the distance is large enough to make a difference, to get real length you nee a geodesic operation. IGeoPolyline exists in 10.1 as part of defenseSolutions library. The polyline has a ISegmentCollention interface which has an enumSegments. Segments have a from and to point...
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.