Provides access to members that control the properties of a horizontal datum.
Members
| Name | Description | |
|---|---|---|
![]() |
Define | Defines the properties of a horizontal datum. |
![]() |
DefineEx | Defines the properties of a horizontal datum. |
IDatumEdit.Define Method
Defines the properties of a horizontal datum.
Public Sub Define ( _
    [ByRef Name As Object], _
    [ByRef Alias As Object], _
    [ByRef Abbreviation As Object], _
    [ByRef Remarks As Object], _
    [ByRef Spheroid As Object] _
)
public void Define (
    ref object Name,
    ref object Alias,
    ref object Abbreviation,
    ref object Remarks,
    ref object Spheroid
);
Description
The properties of a datum that you need to set include the name and a spheroid.
private void DefineDatum(ISpheroid sphere)
{
   IDatum datum = new DatumClass();
   //Query interface for DatumEdit
   IDatumEdit datumEdit = datum as IDatumEdit;
   //Define the properties of the datum
   //sphere represents an ISpheroid object
   object name = "D_North_American_1983";
   object alias = "NAD83";
   object abbreviation = "NAD83";
   object remarks = "NAD83 is the datum";
   object spheroid = sphere;
   datumEdit.Define(ref name, ref alias, ref abbreviation, ref remarks, ref spheroid);
}
Sub DefineDatum(ByRef pSphere As ISpheroid)
       Dim pDatum As IDatum
       Dim pDatumEdit As IDatumEdit
       pDatum = New Datum
       'Query interface for DatumEdit
       pDatumEdit = pDatum
       'Define the properties of the datum
       'pSphere represents an ISpheroid object
       pDatumEdit.Define(Name:="D_North_American_1983", _
                         Alias:="NAD83", Abbreviation:="NAD83", _
                         Remarks:="NAD83 is the datum", Spheroid:=pSphere)
   End Sub
IDatumEdit.DefineEx Method
Defines the properties of a horizontal datum.
Public Sub DefineEx ( _
    ByVal Name As String, _
    ByVal Alias As String, _
    ByVal Abbreviation As String, _
    ByVal Remarks As String, _
    ByVal Spheroid As ISpheroid _
)
public void DefineEx (
    string Name,
    string Alias,
    string Abbreviation,
    string Remarks,
    ISpheroid Spheroid
);
Classes that implement IDatumEdit
| Classes | Description |
|---|---|
| Datum | Creates a datum. |
