This document is archived and information here might be outdated. Recommended version. |
The central meridian (Lambda0) of a projected coordinate system.
[Visual Basic .NET]
Public Function get_CentralMeridian ( _
ByVal inDegrees As Boolean _
) As Double
[Visual Basic .NET]
Public Sub set_CentralMeridian ( _
ByVal inDegrees As Boolean, _
ByVal CentralMeridian As Double _
)
[C#]
public double get_CentralMeridian (
bool inDegrees
);
[C#]
public void set_CentralMeridian (
bool inDegrees,
double CentralMeridian
);
[C++]
HRESULT get_CentralMeridian(
VARIANT_BOOL inDegrees,
System.Double* CentralMeridian
);
[C++]
HRESULT put_CentralMeridian(
VARIANT_BOOL inDegrees,
double CentralMeridian
);
[C++] Parameters inDegrees [in]
inDegrees is a parameter of type bool CentralMeridian [out, retval]
CentralMeridian is a parameter of type double* inDegrees [in]
inDegrees is a parameter of type bool CentralMeridian
CentralMeridian is a parameter of type double
private void ManipulateCentralMeridian(IProjectedCoordinateSystem projectedCoordinateSystem) { double centralMeridianDEG = projectedCoordinateSystem.get_CentralMeridian(true); System.Windows.Forms.MessageBox.Show(centralMeridianDEG.ToString()); projectedCoordinateSystem.set_CentralMeridian(true, 0); }
'Example for IProjectedCoordinateSystem.CentralMeridian Property Get
Public Sub ManipulateCentralMeridian(ByRef pProjCoordSys As ESRI.ArcGIS.Geometry.IProjectedCoordinateSystem4)
'Get the CentralMeridian of the Projected Coordinate System
Debug.Print(pProjCoordSys.CentralMeridian(True))
'Set the CentralMeridian for the Projected Coordinate System
pProjCoordSys.CentralMeridian(True) = 0
End Sub