IFeatureSelection. Then select from it items by
How can i get coordinates of selected item? (If there are more then 1 object, then select first)?
Selected item is Point in Attribute Table. I am using C# to write code.
Using samples and Links from @artwork21 and @GISKid i think that i can get coordinates of selected item using this code:
var fClass = featureLayer.FeatureClass; var fCursor = fClass.Update(null, false); var aFeature = fCursor.NextFeature(); var tPoint = aFeature.Shape as IPoint; // then i get Coordinates from tPoint.
But i get new problem - method
Update isn't implemented. Have SomeBody any advices?