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



Take a string formatted as a 6, 8 or 10 figure OS grid reference (e.g. "TG514131") and create a new OSRef object that represents that grid reference. The first character must be H, N, S, O or T. The second character can be any uppercase character from A through Z excluding I.

Namespace: DotNetCoords
Assembly: DotNetCoords (in DotNetCoords.dll) Version: 1.0.0.15 (1.0.0.15)
Syntax
public OSRef(
	string gridRef
)

Parameters

gridRef
Type: SystemString
a string representing a 6, 8 or 10 figure Ordnance Survey grid reference in the form XY123456.
Exceptions
ExceptionCondition
ArgumentExceptionIf the northing or easting are out of range
See Also