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

    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

    ArcGIS Pro version: 3 or higher.
    See Also