public bool CanConvertMap( Map map, MapConversionType convertTo )
Public Function CanConvertMap( _ ByVal map As Map, _ ByVal convertTo As MapConversionType _ ) As Boolean
Parameters
- map
- The map to test
- convertTo
- The type to convert the map to
public bool CanConvertMap( Map map, MapConversionType convertTo )
Public Function CanConvertMap( _ ByVal map As Map, _ ByVal convertTo As MapConversionType _ ) As Boolean
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
//Note: Run within the context of QueuedTask.Run bool canConvertMap = MapFactory.Instance.CanConvertMap(map, MapConversionType.SceneLocal); if (canConvertMap) MapFactory.Instance.ConvertMap(map, MapConversionType.SceneLocal, true);
Target Platforms: Windows 11, Windows 10, Windows 8.1