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(Int32)
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.MemberwiseClone()
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.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0

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
Back to top Copyright © 2022 Esri.