The angular unit of this geographic coordinate system.
[Visual Basic .NET] Public ReadOnly Property CoordinateUnit As IAngularUnit
[C#] public IAngularUnit CoordinateUnit {get;}
[C++]
HRESULT get_CoordinateUnit(
IAngularUnit** CoordinateUnit
);
[C++]Parameters
CoordinateUnit [out, retval]CoordinateUnit is a parameter of type IAngularUnit
Product Availability
private void PrintCoordinateUnit()
{
// use activator class with SpatialReferenceEnvironment singleton
Type factoryType = Type.GetTypeFromProgID("esriGeometry.SpatialReferenceEnvironment");
System.Object obj = Activator.CreateInstance(factoryType);
ISpatialReferenceFactory spatialReferenceFactory = obj as ISpatialReferenceFactory;
IGeographicCoordinateSystem geographicCoordinateSystem = spatialReferenceFactory.CreateGeographicCoordinateSystem((int)esriSRGeoCSType.esriSRGeoCS_WGS1984);
IAngularUnit coordinateUnit = geographicCoordinateSystem.CoordinateUnit;
System.Windows.Forms.MessageBox.Show(coordinateUnit.Name);
}