Adds the specified label to this arrow.
SyntaxVB6
Copy Code
|
|---|
Public Sub AddLabel( _ |
C++
Copy Code
|
|---|
public: |
An ArrowLabel instance.
RemarksMain text content of an arrow is specified via its Text property. Call AddLabel if you need to display additional text labels, such as identifiers or hints to the user.
Call RemoveLabel to remove the label later. You can access all labels assigned to an arrow by means of the GetLabelCount and GetLabel methods.
ExampleThe following ArrowCreated event handler adds two supplementary labels near arrow's end points.
VB6
Copy Code
|
|---|
Sub fcx_ArrowCreated(ByVal arrow As FLOWCHARTLibCtl.IArrowItem) |
C++
Copy Code
|
|---|
void DiagramWindow::OnArrowCreated(LPDISPATCH pArrowItem) |
See Also