Creates a predefined geographic coordinate system.
[Visual Basic 6.0] Function CreateGeographicCoordinateSystem(
ByVal gcsType As Long _
) As IGeographicCoordinateSystem
[Visual Basic .NET] Public Function CreateGeographicCoordinateSystem ( _ ByVal gcsType As Integer _ ) As IGeographicCoordinateSystem
[C#] public IGeographicCoordinateSystem CreateGeographicCoordinateSystem ( int gcsType );
[Java] public IGeographicCoordinateSystem createGeographicCoordinateSystem ( int gcsType ) throws IOException, AutomationException
[C++] HRESULT CreateGeographicCoordinateSystem( long gcsType, IGeographicCoordinateSystem** gcs );
Parameters
gcsType
gcsType is a parameter of type long
gcs [out, retval]
gcs is a parameter of type IGeographicCoordinateSystem
Use an element from the esriSRGeoCSType, esriSRGeoCS2Type, or esriSRGeoCS3Type enumerations as the gcsType to create a particular predefined geographic coordinate system.
The example code shows how to create an object that represents the WGS 1984 geographic coordinate system.
ISpatialReferenceFactory Interface | esriSRGeoCSType Constants | esriSRGeoCS2Type Constants | esriSRGeoCS3Type Constants