Show / Hide Table of Contents

Constructor GeoprocessingLinearUnit

GeoprocessingLinearUnit()

Initializes a new instance of the GeoprocessingLinearUnit class.

Declaration
public GeoprocessingLinearUnit()

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

GeoprocessingLinearUnit(Double, LinearUnit)

Initializes a new instance of the GeoprocessingLinearUnit class with the given distance and linear unit.

Declaration
public GeoprocessingLinearUnit(double distance, LinearUnit unit)
Parameters
Type Name Description
System.Double distance

The distance value of the parameter.

LinearUnit unit

The unit of distance.

Remarks

If the provided LinearUnit is not supported by the geoprocessing task, the value is converted to meters.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

GeoprocessingLinearUnit(Double)

Initializes a new instance of the GeoprocessingLinearUnit class with the given distance which is assumed to be in meters.

Declaration
public GeoprocessingLinearUnit(double distance)
Parameters
Type Name Description
System.Double distance

The distance value of the parameter in meters.

Remarks

Note that although this constructor defaults to meters, the unit can be changed by updating Unit . If the unit is changed in this way, the value is not converted.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

GeoprocessingLinearUnit(Double, GeoprocessingLinearUnits)

Initializes a new instance of the GeoprocessingLinearUnit class with the given distance and linear unit.

Declaration
public GeoprocessingLinearUnit(double distance, GeoprocessingLinearUnits unit)
Parameters
Type Name Description
System.Double distance

The distance value of the parameter.

GeoprocessingLinearUnits unit

The unit of distance.

Remarks

The GeoprocessingLinearUnits used here represents the subset of linear units supported by geoprocessing.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.