MGRSRefToString Method (Precision, String) |
doogal.co.uk Home
Return a String representation of this MGRS reference to 1m, 10m, 100m,
1000m or 10000m precision using the specified format string.
Namespace:
DotNetCoords
Assembly:
DotNetCoords (in DotNetCoords.dll) Version: 1.0.0.22 (1.0.0.22)
Syntaxpublic string ToString(
Precision precision,
string format
)
Public Function ToString (
precision As Precision,
format As String
) As String
public:
String^ ToString(
Precision precision,
String^ format
)
member ToString :
precision : Precision *
format : string -> string
Parameters
- precision
- Type: DotNetCoordsPrecision
The required precision. - format
- Type: SystemString
The format. {0} will be replaced by the UTM zone number, {1} will be replaced by the UTM zone character,
{2} will be replaced by the Easting ID, {3} will be replaced by the Northing ID, {4} will be replaced by the Easting, {5} will be replaced by the Northing
Return Value
Type:
StringA string representation of this MGRS reference to the required
precision.
See Also