IFeatureLayer layer = FrmMain.m_mapControl.get_Layer(0) as IFeatureLayer;
IFeatureClass featureClass = layer.FeatureClass; IFeature feature = featureClass.CreateFeature();
IPoint point = new PointClass(); float H = float.Parse(txtX.Text.ToString());
float Z = float.Parse(txtY.Text.ToString());
point.PutCoords(H, Z); feature.Shape = point; feature.Store();
FrmMain.m_mapControl.ActiveView.Refresh();

最新文章

  1. 工作中那些提高你效率的神器(第二篇)_Listary
  2. 【CSS】创建布局
  3. listView获取item的Edit内容,listView中的edit内容在滚动时自动赋值了前面的内容
  4. [转载]Nginx如何处理一个请求
  5. Oracle11g安装完成后给用户解锁
  6. jQuery--效果和遍历
  7. 杭电 HDU 4608 I-number
  8. 允许mysql用户从远程登录
  9. DotNetCore跨平台~为Lind.DotNetCore框架添加单元测试的意义
  10. python 高阶函数之 map
  11. linux SWAP
  12. Leetcode Articles: Insert into a Cyclic Sorted List
  13. 编译问题:'<invalid-global-code>' does not contain a definition for 'Store' and no extension method 'XXX' accepting a first argument of type '<invalid-global-code>' could be found
  14. 解决selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
  15. Modeling Filters and Whitening Filters
  16. 【Java集合的详细研究4】Java中如何遍历Map对象的4种方法
  17. QQ企业邮箱+Spring+Javamail+ActiveMQ(发送企业邮件)
  18. asp.net控件拖不动。控件错误
  19. 【亲测有效】Nodepad++/Sublime Text3中Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level解决策略
  20. C# Newtonsoft.Json解析数组的小例子[转]

热门文章

  1. rowcount和@@rowcount的区别
  2. Windows学习总结(6)——MindManager新手入门教程
  3. Intersection between 2d conic in OpenCASCADE
  4. 大型情感类电视连续剧--Android高德之旅(2)地图类型
  5. ip6tables: ipv6-icmp vs icmp
  6. tensorflow 语法及 api 使用细节
  7. 71.用express框架,出现 express.Router is not a function
  8. SQL 锁 lock
  9. Java证书通信
  10. Prism 框架基础架构