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);
  • 相关阅读:
    第一章、Docker 简介
    远程库的创建及操作
    分支
    Git常用命令
    初始化本地仓库
    Git的本地结构与远程中心
    Git的安装
    版本控制系统
    冒泡排序
    选择排序
  • 原文地址:https://www.cnblogs.com/abcdwxc/p/1012428.html
Copyright © 2011-2022 走看看