Select to view content in your preferred language

Select feature, Nearest line the feature, create point

630
0
06-14-2017 05:02 AM
MehmetErözkan
Deactivated User

I have a valuation and I want to find this value inside the layer diagram on the map. I want this feature to burn on the screen. And I want to find the closest vertex of the feature that is lit with a value that is being eliminated, and put a dot on that vertex. can you help me

IMxDocument pMxdoc = ArcMap.Application.Document as IMxDocument;
IFeatureLayer pFlayer = pMxdoc.FocusMap.Layer[2] as IFeatureLayer;
IFeatureClass pFeatureClass = pFlayer.FeatureClass;
IFeature pFeature = pFeatureClass.GetFeature(5);
if (pFeature.get_Value(5).ToString() == "1800/8")
{
IMap pMap = pMxdoc.FocusMap;
pMap.SelectFeature(pFlayer, pFeature);
}

Tags (1)
0 Kudos
0 Replies