NodeLabel.SetCornerPosition Method
See Also

Positions this label relatively to the specified corner point.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming


C#  Copy Code

public void SetCornerPosition (
    int cornerPoint,
    float dx,
    float dy

Visual Basic  Copy Code

Public Sub SetCornerPosition( _
    cornerPoint As Integer, _
    dx As Single, _
    dy As Single _



The corner point index.


Horizontal offset from the point.


Vertical offset from the point.


This method sets node's corner as label's pin point and assigns specified offsets to HorizontalOffset and VerticalOffset properties. The cornerPoint index starts counting from top-left corner in clockwise direction:

  • 0 desigates top-left corner;
  • 1 desigates top-right corner;
  • 2 desigates bottom-right corner;
  • 3 desigates bottom-left corner;

 See Also