ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core.UnitFormats Namespace / DisplayUnitFormat Class / SetUnitFormat Method
The format to be applied

SetUnitFormat Method
Apply changes to the number format
Syntax
public void SetUnitFormat( 
   CIMObject cimFormat
)

Parameters

cimFormat
The format to be applied
Remarks
Apply a change to the unit format.
For:
  • UnitFormatType.Direction and Angular provide a CIMDirectionFormat.
  • All other UnitFormatTypes provide a CIMNumericFormat.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.7 or higher.
See Also