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

In This Topic
    SetUnitFormat Method
    In This Topic
    Apply changes to the number format
    Syntax
    public void SetUnitFormat( 
       CIMObject cimFormat
    )
    Public Sub SetUnitFormat( _
       ByVal cimFormat As CIMObject _
    ) 

    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