Click or drag to resize
OSRef Constructor (Double, Double)
doogal.co.uk Home



Create a new Ordnance Survey grid reference using a given easting and northing. The easting and northing must be in metres and must be relative to the origin of the British National Grid.

Namespace:  DotNetCoords
Assembly:  DotNetCoords (in DotNetCoords.dll) Version: 1.0.0.22 (1.0.0.22)
Syntax
public OSRef(
	double easting,
	double northing
)

Parameters

easting
Type: SystemDouble
The easting in metres. Must be greater than or equal to 0.0 and less than 800000.0.
northing
Type: SystemDouble
The northing in metres. Must be greater than or equal to 0.0 and less than 1400000.0.
Exceptions
ExceptionCondition
ArgumentExceptionIf the northing or easting are out of range
See Also