Attaches a node to an arrow so that the node stays attached to the longest horizontal segment of the arrow.
VB6 Copy Code |
---|
Public Sub AttachToLongestHSegment( _ |
C++ Copy Code |
---|
public: |
The group will track which horizontal segment is the longest one in the arrow at any given time, and will move the attached node to the center of that segment. E.g., this could be used to ensure that a label box will always stay where there is most space for it along the arrow.
The method is intended to be used with cascading arrows (Style = asPerpendicular). When the main object is an ordinary polyline arrow, the group will choose a non-vertical segment, and not a strictly horizontal one.