ArcGIS pro增加一个独立表到地图

Posted gisoracle

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ArcGIS pro增加一个独立表到地图相关的知识,希望对你有一定的参考价值。

 var insTbl;

  await QueuedTask.Run(()=>
  {
    using (Geodatabase geodatabase = new Geodatabase(new FileGeodatabaseConnectionPath(new Uri(gPath))))
    {
      using (Table table = geodatabase.OpenDataset<Table>(inTbl))
      {
        IStandAloneTableFactory tableFactory = StandaloneTableFactory.Instance;
        insTbl = tableFactory.CreateStandaloneTable(table, MapView.Active.Map, inTbl);
      }
    }
  }

  FrameworkApplication.Panes.OpenTablePane(insTbl);
}

 

以上是关于ArcGIS pro增加一个独立表到地图的主要内容,如果未能解决你的问题,请参考以下文章