IPrimeMeridianEdit Interface

Provides access to members that control the properties of the prime meridian.

Members

Name Description
Method Define Defines the properties of the prime meridian.
Method DefineEx Defines the properties of the prime meridian.

IPrimeMeridianEdit.Define Method

Defines the properties of the prime meridian.

Public Sub Define ( _
    [ByRef Name As Object], _
    [ByRef Alias As Object], _
    [ByRef Abbreviation As Object], _
    [ByRef Remarks As Object], _
    [ByRef Longitude As Object] _
)
public void Define (
    ref object Name,
    ref object Alias,
    ref object Abbreviation,
    ref object Remarks,
    ref object Longitude
);

Description

Use the Define method of IPrimeMeridianEdit to set the properties of a prime meridian. The longitude parameter is defined in degrees relative to Greenwich.

private void DefinePrimeMeridian()

    {

        //Query interface for DatumEdit 

        IPrimeMeridianEdit primeMeridianEdit = new PrimeMeridianClass();

        //Define the properties for the prime meridian 

        object name = "Greenwich";

        object alias = "Green";

        object abbreviation = "Grnwch";

        object remarks = "Greenwich is the prime meridian";

        object longitude = 0;

        primeMeridianEdit.Define(ref name, ref alias, ref abbreviation, ref remarks, ref longitude);

    }

IPrimeMeridianEdit.DefineEx Method

Defines the properties of the prime meridian.

Public Sub DefineEx ( _
    ByVal Name As String, _
    ByVal Alias As String, _
    ByVal Abbreviation As String, _
    ByVal Remarks As String, _
    ByRef Longitude As Double _
)
public void DefineEx (
    string Name,
    string Alias,
    string Abbreviation,
    string Remarks,
    ref double Longitude
);

Classes that implement IPrimeMeridianEdit

Classes Description
PrimeMeridian Creates a prime meridian.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.