NetDiagram Programmer's Guide
DiagramLink.Length Property
See Also
 





Gets the length of the link.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public float Length { get; }

Visual Basic  Copy Code

Public ReadOnly Property Length As Single

 Property Value

A float value that represents the total length of the link, sum of the lengths of all its segments.

 Remarks

If the link's Shape is set to Bezier, an approximate length is calculated. In that case, the approximate value is almost always slightly smaller than the real length of Bézier segments.

 See Also

DiagramLink Members
DiagramLink Class
MindFusion.Diagramming Namespace
Shape Property
SegmentCount Property