public MapViewingMode ViewingMode {get;}
Public ReadOnly Property ViewingMode As MapViewingMode
public MapViewingMode ViewingMode {get;}
Public ReadOnly Property ViewingMode As MapViewingMode
public bool IsView3D() { //Get the active map view. var mapView = MapView.Active; if (mapView == null) return false; //Return whether the viewing mode is SceneLocal or SceneGlobal return mapView.ViewingMode == ArcGIS.Core.CIM.MapViewingMode.SceneLocal || mapView.ViewingMode == ArcGIS.Core.CIM.MapViewingMode.SceneGlobal; }
Target Platforms: Windows 11, Windows 10, Windows 8.1