ArcObjects Library Reference (Geometry)  

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
public double get_LengthGeodetic (
    esriGeodeticType geodeticLineType,
    ILinearUnit pLU
HRESULT get_LengthGeodetic(
  esriGeodeticType geodeticLineType,
  ILinearUnit* pLU,
  double* pLength



  geodeticLineType is a parameter of type esriGeodeticType


  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.


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