Search
Arrow.SetTextPosition Method
See Also
 



Sets the position of the arrow label.

 Syntax

VB6  Copy Code

Public Sub SetTextPosition( _
    ByVal segment As Long, _
    ByVal offset As Long _
)

C++  Copy Code

public:
void SetTextPosition (
    int segment,
    int offset
)

 Parameters

segment
Specifies at which segment to display the label.
offset
Specifies the position of the label relatively to the segment.

 Remarks

Currently, this method can be used only when TextStyle is set to atsCenter. A negative segment argument specifies an index relative to the last segment, e.g. -1 is the last segment, -2 is the second-to-last segment, etc. A negative offset means that the offset should be relative to the segment end instead of the segment beginning.

 See Also