property Link.CustomPath as Variant
Specifies the link's custom path.

TypeDescription
Variant A string expression that define the link's custom path.

The CustomPath property specifies a custom path for a link connecting point A (the start point) to point B (the end point). The path is defined as a comma-separated sequence of x,y proportions representing the intermediate control points, using the format "x,y,x,y,x,y,...".

The coordinates are expressed as proportions relative to points A and B: "(0,0)" represents point A, while "(1,1)" represents point B. The x and y values define the horizontal and vertical positions along the path, respectively.

For example, setting CustomPath to "0.5,0,0.5,1" defines a path that starts at point A, passes through two intermediate points-"(0.5,0)" and "(0.5,1)"-and ends at point B. This creates a path that moves horizontally from A to the midpoint, vertically downward, and then horizontally to B.

The AllowLinkControlPoint property indicates the control points of the link, the user can use to customize the link's path. The AllowControlPoint property defines the control points for an individual link, the user can use to customize the link.