Click or drag to resize

GeoTransformIsValidGeoCoordinate Method

Check if the coordinates of the input point have valid values (i.e. unequal zero and not NaN).

Namespace:  Ptv.XServer.Controls.Map.Tools
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public static bool IsValidGeoCoordinate(
	this Point p
)

Parameters

p
Type: System.WindowsPoint
Point to be checked if x and y are valid.

Return Value

Type: Boolean
False if one the coordinates are NaN or both coordinates are equal zero.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Point. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also