Convert this latitude and longitude into an OSGB (Ordnance Survey of Great Britain) grid reference.

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

Collapse imageSyntax

C#
public OSRef(
	LatLng ll
)
Visual Basic (Declaration)
Public Sub New ( _
	ll As LatLng _
)
Visual C++
public:
OSRef(
	LatLng^ ll
)

Parameters

ll
Type: DotNetCoords..::.LatLng
The latitude and longitude.

Collapse imageExceptions

ExceptionCondition
System..::.ArgumentExceptionIf the northing or easting are out of range

Collapse imageSee Also