上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: 按照ArcMap的处理方式,地图和制图是分两个页面的,他们之间通过共享同一个Map对象来实现地图同步,具体做法就是在PageLayoutControl的PageLayoutReplaced事件发生时,将当前的活动地图指派给MapControl,然后在二者之间实现切换,基本做法如下: 在PageLay 阅读全文
posted @ 2016-10-22 09:46 虚-染D 阅读(987) 评论(0) 推荐(0) 编辑
摘要: 整理了 MapConrol各基本功能的实现代码 阅读全文
posted @ 2016-10-21 14:22 虚-染D 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 整理了下对PageLayoutControl的基本功能操作 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 阅读全文
posted @ 2016-10-19 09:15 虚-染D 阅读(913) 评论(0) 推荐(0) 编辑
摘要: /// /// 打印的按钮 /// /// /// private void btnPrint_Click(object sender, EventArgs e) { // printDocument1 为 打印控件 //设置打印用的纸张 当设... 阅读全文
posted @ 2016-10-18 11:12 虚-染D 阅读(14607) 评论(1) 推荐(0) 编辑
摘要: 取出一个图层的symbol 在其基础上对其进行修改 private void button1_Click(object sender, EventArgs e) { mp;nbsp; //设定要改变symbol的图层 ILayer pLayer=m_mapControl.get_Layer(0); 阅读全文
posted @ 2016-10-17 16:10 虚-染D 阅读(1146) 评论(0) 推荐(1) 编辑
摘要: 在AO中使用Geoprocessor(ESRI.ArcGIS.Geoprocessor) 1。观察arcmap中的使用方法,明确各参数意义。 2。arctoolbox中参数对应为features/feature layer的(即需要在下拉菜单中选择,需要首先加载到arcmap上的),首先使用Make 阅读全文
posted @ 2016-10-17 16:08 虚-染D 阅读(498) 评论(0) 推荐(0) 编辑
摘要: public void AddSDELayer(bool ChkSdeLinkModle) { //< span style="color: #008000;">定义一个属性 < ;/span> IPropertySet Propset = new PropertySetClass(); if (C 阅读全文
posted @ 2016-10-17 16:08 虚-染D 阅读(645) 评论(0) 推荐(0) 编辑
摘要: 空间关系 计算范围 查询 查找图层 选择要素集 加载数据 新建shapefile文件/GDB 将选中要素另存至GDB 另存为shapefile类似,修改workspacefactory为ShapefileWorkspaceFactoryClass,修改对应路径即可。 编辑 label GP 转换ca 阅读全文
posted @ 2016-10-17 16:02 虚-染D 阅读(405) 评论(0) 推荐(0) 编辑
摘要: //获取当前进程的完整路径,包含文件名(进程名)。 string str = this.GetType().Assembly.Location; result: X:\xxx\xxx\xxx.exe (.exe文件所在的目录+.exe文件名) //获取新的 Process 组件并将其与当前活动的进程关联的主模块的完整路径,包含文件名(进程名)。 string str = System.Diag... 阅读全文
posted @ 2016-10-17 11:08 虚-染D 阅读(31395) 评论(0) 推荐(7) 编辑
摘要: 空间关系 1 /// <summary>计算两点间距离2 /// </summary>3 /// <param name="point1"></param>4 /// <param name="point2"></param>5 /// <returns></returns>6 public sta 阅读全文
posted @ 2016-10-13 19:42 虚-染D 阅读(359) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页