Class LinearUnit
Represents a linear unit of measure used by a Geometry or SpatialReference, or in measurement conversion functions.
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class LinearUnit : Unit
Properties
Name | Description |
---|---|
UnitType | Gets the type of unit. |
Methods
Name | Description |
---|---|
ConvertFrom(LinearUnit, Double) | Converts a value in another unit of measure into this unit of measure. |
ConvertTo(LinearUnit, Double) | Converts a value in this unit of measure into another unit of measure. |
CreateFromAreaUnit(AreaUnit) | Creates a linear unit from a corresponding area unit. For example square meters will become meters. |
FromMeters(Double) | Converts a meter value to this unit of measure. |
ToMeters(Double) | Converts a value in this unit of measure to meters. |
ToString() | Returns a System.String that represents this instance. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
Buffer: Create a buffer around a map point and display the results as a `Graphic`
Buffer list: Generate multiple individual buffers or a single unioned buffer around multiple points.
Geodesic operations: Calculate a geodesic path between two points and measure its distance.