Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
public static double Length(
Public Shared Function Length (
geometry As Geometry
) As Double
- Type: Esri.ArcGISRuntime.GeometryGeometry
The geometry to calculate length for.
The calculated length in the same units as the geometry's spatial
This length calculation is based upon the SpatialReference
of the input geometry.
Although some projections are better than others for preserving distance, it will always be distorted
in some areas of the map. Distortion may be negligible for large scale maps (small areas) that use a
suitable map projection. Make sure you know your data and spatial reference if accurate measurements
are required. For more accurate results, consider using the LengthGeodetic(Geometry, LinearUnit, GeodeticCurveType)