Monday 15 May 2017

arcobjects - How to iterate through each vertex in a line?



I am working with ArcObjects in building functionality for a toolbar inside of ArcMap. Once I start an edit session, I use the tools to manually draw a line. I am trying to loop through this line get (or display in a message box) each point in the line. For ease of use, I was trying to do this on a simple button click from my toolbar. I've been researching and thought of using the IPointCollection Interface but I'm not completely sure if this will work or be helpful in accomplishing my goal. I am looking more so for a starting point to this.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...