向要素集中插入新要素
来源:互联网 发布:js onready 编辑:程序博客网 时间:2024/05/15 04:31
/// <summary> /// 向要素集中插入新要素 /// </summary> /// <param name="pFeaClass">要素集</param> /// <param name="pGeo">图形</param> /// <returns></returns> private IFeatureBuffer CreateNewFeature(IFeatureClass pFeaClass, IFeature pFea, IGeometry pGeo) { IFeatureBuffer pFeaBuffer = null; try { IFeatureCursor pFeaCursor = pFeaClass.Insert(true); pFeaBuffer = pFeaClass.CreateFeatureBuffer(); pFeaBuffer.Shape = pGeo; //// 拷贝字段属性值 bool bResult = GtMap.GxAEHelper.Feature.CopyFieldValue(pFea, ref pFeaBuffer); pFeaCursor.InsertFeature(pFeaBuffer); pFeaCursor.Flush(); } catch (Exception ex) { GtMap.GxComHelper.LogWriter.WriteLog("创建新要素失败", ex); pFeaBuffer = null; } return pFeaBuffer; }
0 0
- 向要素集中插入新要素
- ArcGIS Engine 向点要素集中插入数据
- 使用sql语句向SDO_Geometry插入要素
- 向已有的要素图层中添加新要素(点、线)
- 在axtoolbar中插入删除要素功能
- 网站要素
- 好茶四要素
- 成功要素
- 五个要素
- 会计要素
- 成本要素
- 要素闪烁
- 口语要素
- 优秀论文要素
- 会计要素
- 算法要素
- 自我介绍要素
- 要素识别
- 看好你的门-确保验证机制的安全(2)-安全处理敏感信息
- blog内置变量
- 看好你的门-确保验证机制的安全(3)-正确处理验证信息
- FFT原理与实现
- 【Android文档】Training-------Adding the Action Bar
- 向要素集中插入新要素
- 从tty到uart层,分析uart数据流程(一)
- 为什么中国的程序员总被称为码农?
- C_C++ 各种计时函数
- IOS中常用宏定义
- SGU 106 The equation
- python习作——简易24点计算器
- Donald John Trump
- 傅里叶分析之掐死教程(完整版)更新于2014.06.06