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


ISpheroid.SemiMajorAxis Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

ISpheroid.SemiMajorAxis Property

The semi-major axis length of this spheroid.

[Visual Basic .NET]
Public ReadOnly Property SemiMajorAxis As Double
[C#]
public double SemiMajorAxis {get;}
[C++]
HRESULT get_SemiMajorAxis(
  double* axis
);
[C++]

Parameters axis [out, retval] axis is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
[C#]     private void PrintSpheroid(ISpheroid spheroid)
    {
        System.Windows.Forms.MessageBox.Show(spheroid.SemiMajorAxis.ToString());
    }

See Also

ISpheroid Interface