Returns the length of the path that is defined in the specified Geometry section.
Version Added: Visio 2010
PATHLENGTH(section [,segment] )
||The Geometry section that represents the path, specified by a reference to its Path cell (for example, Geometry1.Path).|
||The 1-based segment of the path to measure.|
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.