ArcGIS Pro 2.9 API Reference Guide
UnitCode Property

ArcGIS.Desktop.Core.UnitFormats Namespace > DisplayUnitFormat Class : UnitCode Property
Gets the factory code of the unit format
Syntax
public int UnitCode {get;}
Public ReadOnly Property UnitCode As Integer
Remarks
Corresponds to the underlying unit of measure. Different DisplayUnitFormats can have the same underlying unit of measure.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

DisplayUnitFormat Class
DisplayUnitFormat Members