Show / Hide Table of Contents

Class LinearUnit

Represents a linear unit of measure used by a Geometry or SpatialReference, or in measurement conversion functions.

Inheritance
object
Unit
LinearUnit
Unit.FromWkid(int)
Unit.Wkid
Unit.Name
Unit.Abbreviation
Unit.DisplayName
Unit.PluralDisplayName
Unit.IsEqual(Unit)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, 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 string that represents this instance.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

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.
In this article
Provide feedback
Back to top Copyright © 2025 Esri.