ArcGIS Pro 2.7 API Reference Guide
Unit Class Members
Properties  Methods 


ArcGIS.Core.Geometry Namespace : Unit Class

The following tables list the members exposed by Unit.

Public Properties
 NameDescription
Public Property Gets the conversion factor of the unit.  
Public PropertyGets the well-known ID of the unit. If the unit is a custom unit, then the factory code will be 0.  
Public PropertyGets the name of the unit.  
Public PropertyGets the type of unit.  
Public Property Gets the well-known text of the unit.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic) Creates a unit from a JSON string.  
Public Method Gets the JSON representation of the unit in terms of the wkid. A custom unit has wkid = 0.  
Public MethodGets a System.String that represents this unit. Returns the Name.  
Top
See Also

Reference

Unit Class
ArcGIS.Core.Geometry Namespace