ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Core.UnitFormats Namespace / DisplayUnitFormat Class / UnitFormat Property

In This Topic
    UnitFormat Property
    In This Topic
    Gets the format being used for unit formatting.
    Syntax
    public CIMObject UnitFormat {get;}
    Public ReadOnly Property UnitFormat As CIMObject
    Remarks
    To apply changes call SetUnitFormat
    For:
    • UnitFormatType.Direction and Angular cast to CIMDirectionFormat.
    • All other UnitFormatTypes cast to CIMNumericFormat.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also