Search
LinkLabel.setLinkLengthPosition Method
See Also
 





Positions this label relatively to the link length.

Namespace: MindFusion.Diagramming
File: LinkLabel.js

 Syntax

JavaScript  Copy Code

function setLinkLengthPosition (lengthFactor)

 Parameters

lengthFactor

Number. A value between 0 and 1 specifying the position of the label relatively to the link's length.

 Remarks

This method sets the point at specified distance along link's geometry as pin point and assigns specified offsets to horizontalOffset and verticalOffset properties.

 See Also