GIS在哪里

 

获取所有图层中选择的feature

            IGeometry polygon;
            IActiveView pActiveView;
            IEnumFeature pEnumFeature;
            IFeature pFeature;
            IFeature pFirstFeature;
            pActiveView = (IActiveView)pMap;

            if (pMap.SelectionCount == 0)
            {
                return;
            }
            pEnumFeature = pMap.FeatureSelection as IEnumFeature;
            pEnumFeature.Reset();
            pFirstFeature = pEnumFeature.Next();
            pFeature = pEnumFeature.Next();

posted on 2009-08-06 15:23  寻找GIS  阅读(453)  评论(0编辑  收藏  举报

导航