Export (0) Print
Expand All
Expand Minimize

PATHLENGTH Function

Last modified: June 17, 2011

Applies to: Office 2013 | Visio 2013

In this article
Version Information
Syntax
Remarks

Returns the length of the path that is defined in the specified Geometry section.

Version Added: Visio 2010

PATHLENGTH(section[,segment])

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).

segment

Optional

Integer

The 1-based segment of the path to measure.

Return Value

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.

Show:
© 2014 Microsoft