Search
LinkLabel.SetSegmentPosition Method
See Also
 





Positions this label relatively to the specified link segment.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void SetSegmentPosition (
    int segment,
    float dx,
    float dy
)

Visual Basic  Copy Code

Public Sub SetSegmentPosition( _
    segment As Integer, _
    dx As Single, _
    dy As Single _
)

 Parameters

segment

The segment index.

dx

Horizontal offset from the segment center.

dy

Vertical offset from the segment center.

 Remarks

This method sets the middle of specified segment as label's pin point and assigns specified offsets to HorizontalOffset and VerticalOffset properties.

 See Also