The prime meridian of this geographic coordinate system.
[Visual Basic .NET] Public ReadOnly Property PrimeMeridian As IPrimeMeridian
[C#] public IPrimeMeridian PrimeMeridian {get;}
[C++]
HRESULT get_PrimeMeridian(
IPrimeMeridian** prime
);
[C++]Parameters
prime [out, retval]prime is a parameter of type IPrimeMeridian
Product Availability
private void PrintPrimeMeridianFromGCS()
{
// 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);
IPrimeMeridian primeMeridian = geographicCoordinateSystem.PrimeMeridian;
System.Windows.Forms.MessageBox.Show(primeMeridian.Name);
}