Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Version Information
Version Added: Visio 2010
Syntax
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
Remarks
If section does not exist, Microsoft Visio returns #REF!.