This document is archived and information here might be outdated.  Recommended version.


ISpheroidEdit.DefineEx Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISpheroidEdit Interface > ISpheroidEdit.DefineEx Method
ArcGIS Developer Help

ISpheroidEdit.DefineEx Method

Defines the properties of a spheroid.

[Visual Basic .NET]
Public Sub DefineEx ( _
    ByVal Name As String, _
    ByVal Alias As String, _
    ByVal Abbreviation As String, _
    ByVal Remarks As String, _
    ByRef majorAxis As Double, _
    ByRef Flattening As Double _
)
[C#]
public void DefineEx (
    string Name,
    string Alias,
    string Abbreviation,
    string Remarks,
    ref double majorAxis,
    ref double Flattening
);
[C++]
HRESULT DefineEx(
  BSTR Name,
  BSTR Alias,
  BSTR Abbreviation,
  BSTR Remarks,
  System.Double* majorAxis,
  System.Double* Flattening
);
[C++]
Parameters
Name 

Name is a parameter of type BSTR Alias
Alias is a parameter of type BSTR Abbreviation
Abbreviation is a parameter of type BSTR Remarks
Remarks is a parameter of type BSTR majorAxis
majorAxis is a parameter of type double* Flattening
Flattening is a parameter of type double*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The majorAxis parameter represents the semimajor axis. For example, the semimajor axis of the WGS 1984 spheroid is 6378137.0 meters. The flattening value is a small number, such as 0.003352811 (WGS 1984). Often the inverse flattening value is used instead, 298.257223563, and that is what is reported in a well-known text (WKT) version of spheroid. The Define method expects the true flattening value.

See Also

ISpheroidEdit Interface