ArcGIS Pro 3.0 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, Windows 8.1

    See Also