Got no luck in this code.
Gloom, despair and agony on me. Deep dark depression, excessive misery. If it weren't for bad luck, I'd have no luck at all. Gloom, despair and agony on me
I need help on how to get the x and y coordinate of the selected point feature.
I have a point feature and I need to get the x,y of the selected point. Got no luck in this code.
Dim pfcursor As IFeatureCursor
pfcursor = pFLayer.Search(pQF, False)
'get the first feature that matched that query
Dim pfeature As IFeature
pfeature = pfcursor.NextFeature
Dim pgeometry As IGeometry
pgeometry = pfeature.Shape
Dim pPoint As IPoint = pgeometry
Suggestion and ideas are well appreciated. Thanks 🙂