NEARESTPOINTONPATH Function
Last modified: March 09, 2015
Applies to: Office 2013 | Visio 2013
In this article
Version Information
Syntax
Remarks
Returns the percentage of the distance along the path of the point that is nearest to the specified coordinates, as a value between 0 and 1.
NEARESTPOINTONPATH(section,x,y)
Parameters
|
Name |
Required/Optional |
Data Type |
Description |
|---|---|---|---|
|
section |
Required |
String |
The Geometry section that represents the path, specified by a reference to its Path cell (for example, Geometry1.Path). |
|
x |
Required |
Double |
The x-coordinate of the specified point. |
|
y |
Required |
Double |
The y-coordinate of the specified point. |
Return Value
Double