Method Length
Length(Geometry)
Gets the length for a specified Geometry. This is a planar measurement
using 2D Cartesian mathematics to compute the length in the same coordinate space as the inputs.
Use Length
Declaration
public static double Length(this Geometry geometry)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The geometry to calculate length for. |
Returns
Type | Description |
---|---|
System. |
The calculated length in the same units as the geometry's spatial reference unit. |
Remarks
This length calculation is based upon the Spatial
Supports true curves.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |