zoukankan      html  css  js  c++  java
  • MapInfo 添加临时表特征

     1        private void addTempTableToolStripMenuItem_Click(object sender, EventArgs e)
     2        {
     3            MapInfo.Geometry.Point point = new MapInfo.Geometry.Point(map.GetDisplayCoordSys(), 100100);
     4            MapInfo.Styles.SimpleVectorPointStyle svpStyle = new MapInfo.Styles.SimpleVectorPointStyle(40, System.Drawing.Color.Red, 40);
     5            //get temp table
     6            MapInfo.Data.Table table = MapInfo.Engine.Session.Current.Catalog.GetTable("Animation");
     7            Feature ftr = new Feature(table.TableInfo.Columns);
     8
     9            ftr.Geometry = point;
    10            ftr.Style = svpStyle;
    11            ftr["NAME"= "test";
    12            table.InsertFeature(ftr);
  • 相关阅读:
    uva2965
    uva10755
    uva3695
    uva2678
    uva 11549
    stringstream使用笔记
    noip2016游记
    java学习(四)--- String 、StringBuffer、StringBuilder 和 数组
    java学习(三)--- 修饰符
    java学习(二)--- 变量类型
  • 原文地址:https://www.cnblogs.com/abcdwxc/p/1012428.html
Copyright © 2011-2022 走看看