MindFusion.Wpf Pack Programmer's Guide
NodeLabel.SetEdgePosition Method
See Also
 





Positions this label relatively to the specified node edge.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public void SetEdgePosition (
    int edge,
    float dx,
    float dy
)

Visual Basic  Copy Code

Public Sub SetEdgePosition( _
    edge As Integer, _
    dx As Single, _
    dy As Single _
)

 Parameters

edge

The edge index.

dx

Horizontal offset from the edge center.

dy

Vertical offset from the edge center.

 Remarks

This method sets the middle point of node's edge as label's pin point and assigns specified offsets to HorizontalOffset and VerticalOffset properties. The edge index starts counting from top side in clockwise direction:

 See Also

NodeLabel Members
NodeLabel Class
MindFusion.Diagramming.Wpf Namespace
Index Property
RelativeTo Property