DISTTOPATH Function
Office 2010
Returns the shortest distance from the point represented by the specified coordinates to a point on the path.
DISTTOPATH(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 point. |
y | Required | Double | The y-coordinate of the point. |
Return Value
Double
Show: