Parameters
- geometry
- The input geometry.
Return Value
The calculated length in the same units as the geometry's spatial reference unit.
Exception | Description |
---|---|
System.ArgumentNullException | Geometry is null or empty. |
System.NotImplementedException | The method is not implemented for GeometryBag or Multipatch. |
System.InvalidOperationException | The geometry is not Z-Aware. |
OperationException | Cannot do 3D operations on curve segments. |
GeometryObjectException | Geometry is not a polyline or polygon. |
Target Platforms: Windows 10, Windows 8.1, Windows 7