ArcPad Scripting Object Model
NearestPoint Method
See Also  Send comments on this topic.
pIPoint
Required. A Point object that represents the point to search from.
Method
Optional. A Long that specifies the search method.
Points Collection : NearestPoint Method

Glossary Item Box

Description

Returns the point nearest to the Points collection from the input point.

Syntax

object.NearestPoint ( pIPoint [,Method] )

Parameters

pIPoint
Required. A Point object that represents the point to search from.
Method
Optional. A Long that specifies the search method.

Return Type

Remarks

Method is a long specifying the search method to use. The following methods are supported:
0 (default) - Return the closest vertex.
1 - Return the closest point that is polyline perpendicular to the input point.

See Also

© 2012 All Rights Reserved.