Creates a Recordset that returns the rows that are closest to the given search point. The records in the Recordset are sorted by the distance from the search point. The distance parameter is used to narrow down the search to only those shapes that fall within the distance from the search point.


Namespace: ActualMap
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Function SearchNearest( _ 
   ByVal center As Point,  _ 
   ByVal distance As Double _ 
) As Recordset
C#
public Recordset SearchNearest(
   Point center,
   double distance
)
C++
public:
 Recordset SearchNearest(
   Point center,
   double distance
) sealed 
J#
public Recordset SearchNearest(
   Point center,
   double distance
)
JScript
public  function SearchNearest(
   center : Point,
   distance : double
) : Recordset

Parameters

center
An object expression that evaluates to a Point object.
distance
A numeric expression that evaluates to the distance from the point.

See Also