Search
NodeLabel.SetCenterPosition Method
See Also
 





Positions this label relatively to the node center.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void SetCenterPosition (
    float dx,
    float dy
)

Visual Basic  Copy Code

Public Sub SetCenterPosition( _
    dx As Single, _
    dy As Single _
)

 Parameters

dx

Horizontal offset from the center point.

dy

Vertical offset from the center point.

 Remarks

This method sets the node's center as label's pin point and assigns specified offsets to HorizontalOffset and VerticalOffset properties.

 See Also