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)
{
}
标签:map,standalone,Pro,Factors,How,var,table,mapView,null 来源: https://www.cnblogs.com/gisoracle/p/12629458.html