文件名称:arcgis代码
文件大小:911B
文件格式:SLN
更新时间:2017-09-07 10:30:15
查询
对对对 DoQueryIndex 1 DoQueryIndex控制是否进行查询 { ESRI ArcGIS Carto IFeatureLayer pFeatureLayer axMapControl1 get Layer 0 as ESRI ArcGIS Carto IFeatureLayer; get layer决定查找哪些图层 ESRI ArcGIS Geometry IPoint point new ESRI ArcGIS Geometry PointClass ; point PutCoords e mapX e mapY ; ESRI ArcGIS Geodatabase ISpatialFilter spatialFilter new ESRI ArcGIS Geodatabase SpatialFilterClass ; spatialFilter Geometry point; spatialFilter SpatialRel ESRI ArcGIS Geodatabase esriSpatialRelEnum esriSpatialRelIntersects; ESRI ArcGIS Geodatabase IFeatureCursor featureCursor pFeatureLayer Search spatialFilter false ; ESRI ArcGIS Geodatabase IFeature pFeature; while pFeature featureCursor NextFeature null { axMapControl1 FlashShape pFeature Shape ; MessageBox Show pFeature get Value 2 ToString ; 获取要素属性 } }">对对对 DoQueryIndex 1 DoQueryIndex控制是否进行查询 { ESRI ArcGIS Carto IFeatureLayer pFeatureLayer axMapControl1 get Layer 0 as ESRI ArcGIS Carto IFeatureLayer; get layer决定查找哪些图层 ESRI ArcGIS Geometry IPoint [更多]