文件名称:添加相关代码-基于Visual C#和ArcEngine的二次开发
文件大小:4.77MB
文件格式:PPT
更新时间:2024-05-13 13:34:27
C# ArcEngine 二次开发
添加相关代码: private void axMapControl1_OnMouseDown(object sender, ESRI.ArcGIS.Controls.IMapControlEvents2_OnMouseDownEvent e) { if (this.toolStripBtnQuery.Checked == true) //如果查询比较频繁,此类变量可以设置成类级别 { ILayer pLayer; IFeatureLayer pFL; IFeatureSelection pFeatureSelection; IEnvelope pEnv; IGeometry pGeometry; ISpatialFilter pSpatialFilter; ISelectionSet pSelectionSet; IEnumIDs pEnumIDs; IFeature pFeature;