ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MappingExtensions Class / CanSetMapTopology Method
The map to set the topology.
Example Version

CanSetMapTopology Method
Gets if the active topology can be set to a MapTopology. Map topologies are only supprted for 2D non-stereo maps.
Syntax
public static bool CanSetMapTopology( 
   Map map
)

Parameters

map
The map to set the topology.
Example
Set Map Topology as the current topology
if (map.CanSetMapTopology())
{
  //Set the topology of the map as map topology
  mapTopoProperties = await map.SetMapTopologyAsync() as MapTopologyProperties;
}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also