Export (0) Print
Expand All
Expand Minimize

NEARESTPOINTONPATH Function

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 Added: Visio 2010

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

If section does not exist, Microsoft Visio returns #REF!.

Show:
© 2015 Microsoft