Search
NodeLabel.SetCornerPosition Method
See Also
 



Positions this label relatively to the specified corner point.

 Syntax

VB6  Copy Code

Public Sub SetCornerPosition( _
    ByVal cornerPoint As Long, _
    ByVal dx As Single, _
    ByVal dy As Single _
)

C++  Copy Code

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

 Parameters

cornerPoint

The corner point index.

dx

Horizontal offset from the point.

dy

Vertical offset from the point.

 Remarks

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