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


IPolycurveGeodetic.LengthGeodetic Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPolycurveGeodetic Interface > IPolycurveGeodetic.LengthGeodetic Property
ArcGIS Developer Help

IPolycurveGeodetic.LengthGeodetic Property

Returns length of this polycurve calculated using various types of geodetic methods.

[Visual Basic .NET]
Public Function get_LengthGeodetic ( _
    ByVal geodeticLineType As esriGeodeticType, _
    ByVal pLU As ILinearUnit _
) As Double
[C#]
public double get_LengthGeodetic (
    esriGeodeticType geodeticLineType,
    ILinearUnit pLU
);
[C++]
HRESULT get_LengthGeodetic(
  esriGeodeticType geodeticLineType,
  ILinearUnit* pLU,
  System.Double* pLength
);
[C++]
Parameters
geodeticLineType 

geodeticLineType is a parameter of type esriGeodeticType pLU
pLU is a parameter of type ILinearUnit* pLength [out, retval]
pLength is a parameter of type double*

Product Availability

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

Description

Returns the length of the polycurve calculated using various types of geodetic methods. The units of the reported length are specified by the linear unit parameter. If this parameter is null, the length is reported in meters. The polycurve can be in either a projected or geographic coordinate system.

enum esriGeodeticType
{
  esriGeodeticTypeGeodesic       = 0,
  esriGeodeticTypeLoxodrome      = 1,
  esriGeodeticTypeGreatElliptic  = 2,
  esriGeodeticTypeNormalSection  = 3
};

See Also

IPolycurveGeodetic Interface