Convert this latitude and longitude to a UTM reference.

Namespace:  DotNetCoords
Assembly:  DotNetCoords (in DotNetCoords.dll) Version: 1.0.0.9 (1.0.0.9)

Collapse imageSyntax

C#
public UTMRef ToUtmRef()
Visual Basic (Declaration)
Public Function ToUtmRef As UTMRef
Visual C++
public:
UTMRef^ ToUtmRef()

Return Value

The converted UTM reference.

Collapse imageExceptions

ExceptionCondition
DotNetCoords..::.NotDefinedOnUtmGridException If an attempt is made to convert a LatLng that falls outside the area covered by the UTM grid. The UTM grid is only defined for latitudes south of 84°N and north of 80°S.

Collapse imageSee Also