Checks if the provided precision is valid, i.e. if it can be used in GIS calculations in the Geodetic coordinate system.
true - if the precision is valid, false - if the precision is invalid
The valid precision is an integer number in the range from 0 (inclusive) to 15 (inclusive).
This sample shows how to call the Geodetic.IsValidPrecision method from C# code:
string errorMessage = String.Empty;
int precision = 77;
if (Geodetic.IsValidPrecision(precision, out errorMessage))
{
Console.WriteLine("Precision is valid.");
}
else
{
Console.WriteLine(errorMessage);
}