SEGMENTCOUNT Function

Office 2013 and later

Last modified: March 09, 2015

Applies to: Office 2013 | Visio 2013

Returns the number of line segments that make up the path.

SEGMENTCOUNT(pathRef)

Parameters

Name

Required/Optional

Data Type

Description

pathRef

Required

Integer

The Geometry section that represents the path, specified by a reference to Path cell (for example, Geometry1.Path).

Return Value

Integer

Line jumps are not included in the total number of segments returned.

Show: