ArcGIS Pro 2.7 API Reference Guide
GetElevationUnitFormat Method

ArcGIS.Desktop.Mapping Namespace > Map Class : GetElevationUnitFormat Method
Gets the current scene elevation unit format. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public DisplayUnitFormat GetElevationUnitFormat()
Public Function GetElevationUnitFormat() As DisplayUnitFormat

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The elevation unit format is used to format the units used by the coordinate system display at the bottom of the scene that shows elevation as well as format the scale combo box.
Calling GetElevationUnitFormat on anything other than a scene will return the default project distance unit format.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Map Class
Map Members