zoukankan      html  css  js  c++  java
  • ArcGIS Pro How to remove standalone table from contents

    try
    {
         var mapView = MapView.Active;
         if (mapView != null)
         {
              var map = mapView.Map;
              if (map != null)
              {
                   foreach (StandaloneTable table in map.StandaloneTables)
                   {
                        if (table.Name.Contains("K Factors"))
                         
    QueuedTask.Run(()=>
    {
      map.RemoveStandaloneTable(table);
    }

                   }
              }
         }
    }
    catch (Exception ex)
    {
    }
  • 相关阅读:
    Scala-文件操作
    python-数字
    python-访问模型
    scala-包
    Scala对象
    Scala-类
    sql存储过程
    sql视图
    sql基本语句
    sql中级语句
  • 原文地址:https://www.cnblogs.com/gisoracle/p/12629458.html
Copyright © 2011-2022 走看看