zoukankan      html  css  js  c++  java
  • MapInfo 创建临时表

    首先导入
    using MapInfo.Data;
    using MapInfo.Engine;
    using MapInfo.Mapping;

     1      private void CreateTempTable()
     2        {
     3            MapInfo.Mapping.Map map = Session.Current.MapFactory[0];
     4            IMapLayer lyr = map.Layers["Animation"];
     5            if (lyr == null)
     6            {
     7                TableInfoMemTable ti = new TableInfoMemTable("Animation");
     8                ti.Columns.Add(ColumnFactory.CreateFeatureGeometryColumn(map.GetDisplayCoordSys()));
     9                ti.Columns.Add(ColumnFactory.CreateStyleColumn());
    10                Table table = MapInfo.Engine.Session.Current.Catalog.CreateTable(ti);
    11                map.Layers.Insert(0new FeatureLayer(table, "Animation""Animation"));
    12            }

    13        }
  • 相关阅读:
    标准I/O的缓冲
    Linux 的文件类型
    引用和指针
    信号-总结
    实时信号
    信号的其它特性
    信号处理器函数
    信号集 / 信号掩码(阻塞信号传递)
    显示信号描述
    发送信号
  • 原文地址:https://www.cnblogs.com/abcdwxc/p/1012085.html
Copyright © 2011-2022 走看看