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 _ 
) As Recordset
C#
public Recordset SearchNearest(
   Point center
)
C++
public:
 Recordset SearchNearest(
   Point center
) sealed 
J#
public Recordset SearchNearest(
   Point center
)
JScript
public  function SearchNearest(
   center : Point
) : Recordset

Parameters

center
An object expression that evaluates to a Point object.

See Also