Crs.GetLengthUnit Method
Returns the length unit of the coordinates.
GetLengthUnit()
Returns the length unit of the coordinates.Syntax
public LengthUnit GetLengthUnit ()
Return Value
The length unit of the projection, or an emulated length unit.
Remarks
If the calling Crs has an ordinary Projection with a LengthUnit, this method will just return that length unit. However, some kinds of projections (LongLat, EquidistantCylindricalAngularProjection, and PolynomialProjection), lacks a length unit property. This Crs method will then return an emulation; for example, for LongLat, the method returns a length unit with inMeters = 111120 and the name "degreeAsLengthUnit".
Platforms
Windows, Linux, Android