摘要:来自:https://www.likecs.com/show-204002511.html 第一步:设置MapControl的AllowDrop属性为True第二步:设置MapControl的OldDropEnabled属性为True第三步:选择MapControl的OnOleDrop事件第四步:加
阅读全文
摘要:原文:http://www.samuelbosch.com/2009/06/drag-drop-from-arccatalog.html 帮助类: using System.Collections.Generic; using System.Windows.Forms; using ESRI.Arc
阅读全文
摘要:public static bool Exists(IGeoProcessor gp, string modalname) { IGpEnumList pList = gp.ListTools(""); string name = pList.Next(); while (name != "") {
阅读全文
摘要:private void button1_Click(object sender, EventArgs e) { string path = @"C:\Program Files (x86)\ArcGIS\Desktop10.8\bin\ArcMap.exe"; //@"C:\Program Fil
阅读全文
摘要:unit utGISPub; interface uses esriControls_TLB, esriCarto_TLB, esriDisplay_TLB, esriGeometry_TLB, esriGeoDatabase_TLB, esriSystem_TLB, esriDataSources
阅读全文
摘要://判断IFeatureClass图形是否含有Z值信息 IFeatureClass featureClass = this.pLayer.FeatureClass; string shapeFieldName = featureClass.ShapeFieldName; if (featureCla
阅读全文
摘要://featureClass是自己获取的featureClass,也可是sde中获取的。 public void FilterAndZoomToLayer(IFeatureClass featureClass) { IFeatureLayer featureLayer = new FeatureLa
阅读全文
摘要:Delphi ArcEngine 创建比例尺,https://www.cnblogs.com/chinacodegear/archive/2009/03/19/1416410.html //本函数 是在 PageControl上拉选一个区域内 创建一个比例尺,比例尺的样式,我自己定义一个 枚举类型
阅读全文
摘要:http://www.gisall.com/html/52/25952-2932.html 向AxPageLayoutControl的PageLayout中添加格网分为两种情况: 添加经纬网 和 添加公里网。 /// /// 为PageLayout对象添加经纬网格 /// /// /// publi
阅读全文