ArcGIS Pro Cómo quitar la tabla de contenido independiente

tratar 
{
     var MapView = MapView.Active;
     if (! MAPview = null)
     {
          var map = mapView.Map;
          si (mapa! = null)
          {
               foreach (tabla StandaloneTable en map.StandaloneTables)
               {
                    si (table.Name.Contains ( "Factores K"))
                     
QueuedTask.Run(()=>
{
  map.RemoveStandaloneTable(table);
}

               }
          }
     }
}
Catch (Exception ex)
{
}

Supongo que te gusta

Origin www.cnblogs.com/gisoracle/p/12629458.html
Recomendado
Clasificación