NetDiagram Programmer's Guide
DiagramLink.SegmentCount Property
See Also

Gets or sets the number of segments of this link.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming


C#  Copy Code

public int SegmentCount { get; set; }

Visual Basic  Copy Code

Public Property SegmentCount As Integer

 Property Value

An integer value specifying how many segments the link consists of. Initialized with the value of LinkSegments.


Use this property to make a link more indented when necessary. Its value, together with Shape, specifies the number of points in the link's ControlPoints collection. You can let users insert new link segments interactively by setting AllowSplitLinks to true.

 See Also

DiagramLink Members
DiagramLink Class
MindFusion.Diagramming Namespace
ControlPoints Property
Length Property