求Arcengine 多个要素高亮显示C#代码

2024-12-25 07:46:17
推荐回答(1个)
回答1:

IFeatureSelection ipFeatureSelection = ipFeatureLayer as IFeatureSelection;
ipFeatureSelection.SelectFeatures(ipQueryFilter1, esriSelectionResultNew,false);
ipFeatureSelection.SelectFeatures(ipQueryFilter2, esriSelectionResultAdd,false);
ipFeatureSelection.SelectFeatures(ipQueryFilter3, esriSelectionResultAdd,false);
……
ipMapControl.Refresh(esriViewGeoSelection);