Partager via


ANGLEALONGPATH Function

Returns the angle of the tangent to the path at a given point.

Version Information

Version Added: Visio 2010

Syntax

ANGLEALONGPATH(section,travel [,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).

travel

Required

Double

The percentage along the path from begin point to end point. Must be between 0 and 1.

segment

Optional

Integer

The 1-based segment of the path at which to calculate the tangent angle.

Return Value

Double

Remarks

If you include a segment value, ANGLEALONGPATH returns the value for that segment only.

If you include a segment value, ANGLEALONGPATH determines the point of the tangent by using travel to calculate the percertage along segment.

If either section or segment does not exist, Microsoft Visio returns #REF!.