ArcGIS Pro 2.8 API Reference Guide
GetLocationUnitFormat Method

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

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
Map location unit formats are used to format the coordinate system display at the bottom of the map or scene as well as format the scale combo box.
Display units
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Map Class
Map Members