ASP.NET Pack Programmer's Guide
DiagramLink.setSegmentCount Method
See Also
 





Sets the number of segments that form the link's geometry.

Namespace: MindFusion.Diagramming
Package: DiagramLink.js

 Syntax

JavaScript  Copy Code

function setSegmentCount (value)

 Parameters

value

An integer value specifying the number of segments of this link.

 Remarks

Link segments are either straight lines or Bezier curves, depending on the value of the link's Shape property. The segment coordinates are defined by the elements of ControlPoints, which contains four points per Bezier segment or two points per straight line segment, where each pair of adjacent segments share a common point. Changing the SegmentCount property value will resize the ControlPoints array so that it contains appropriate number of points.

 See Also

DiagramLink Members
DiagramLink Class
MindFusion.Diagramming Namespace