/// <summary> /// 高亮单个IFeature /// </summary> /// <param name="myIFeatureLayer">IFeatureLayer扩展对象</param> /// <param name="myIFeature">IFeature对象</param> /// <param name="blClearSelection">是否清除原有高亮图元</param> public static void HightLightIFeature(this IFeatureLayer myIFeatureLayer, IFeature myIFeature, bool blClearSelection) { List <IFeature> lstIFeature = new List <IFeature>(); lstIFeature.Add(myIFeature); myIFeatureLayer.HightLightIFeatures(lstIFeature, blClearSelection); }