IFeatureClass 与 IEnvelope 的转换


                ESRI.ArcGIS.Geodatabase.IFeatureClass fc = (editor.TargetLayer as ESRI.ArcGIS.Carto.IFeatureLayer).FeatureClass;
                IEnvelope pEnvelope = new EnvelopeClass();
                pEnvelope.SpatialReference = (fc as IGeoDataset).SpatialReference;

posted @ 2018-08-27 17:36  天要下雨娘要嫁人  阅读(167)  评论(0)    收藏  举报