title | manager | ms.date | ms.audience | ms.topic | ms.localizationpriority | ms.assetid | description |
---|---|---|---|---|---|---|---|
PATHLENGTH Function |
lindalu |
03/09/2015 |
Developer |
reference |
medium |
6f47ea08-fb5e-7d48-e84a-2a6570564924 |
Returns the length of the path that is defined in the specified Geometry section. |
Returns the length of the path that is defined in the specified Geometry section.
Version Added: Visio 2010
PATHLENGTH(section [,segment] )
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). |
segment |
Optional |
Integer |
The 1-based segment of the path to measure. |
Double
If section or segment does not exist, Microsoft Visio returns #REF!.
If you include a segment value, PATHLENGTH returns the length of that segment only.