property Node.LinkCaption as String
Specifies the caption on the node's link.

TypeDescription
String A string expression that indicates the caption on the link between the parent and the current node.
Use the LinkCaption to specify a HTML caption, icon, pictures or anchors on the regular links. The regular link is shown between the parent and the current node. Use the Caption property to specify the node's caption. Use the Image property to assign an icon to a node. Use the Picture property to assign a custom size picture to a node. You can use the LinkCaptionFrompoint property to get the node whose caption on the link is at specified position.

The LinkCaption property supports built-in HTML format. The supported tags are:

The following samples shows how you can assign a HTML caption to a link:

VBA (MS Access, Excell...)

With ChartView1
	.IndentSiblingY = 30
	.ShowLinksDir = True
	.PenWidthLink = 2
	.LinkColor = RGB(0,0,0)
	.AntiAliasing = True
	With .Nodes
		.Add("L1_A",0,"LA").LinkCaption = "<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link"
		.Add "L1_B",0,"LB"
		.Add "L2_A","LA","LA2"
		.Add "L2_B","LB","LB2"
	End With
End With

VB6

With ChartView1
	.IndentSiblingY = 30
	.ShowLinksDir = True
	.PenWidthLink = 2
	.LinkColor = RGB(0,0,0)
	.AntiAliasing = True
	With .Nodes
		.Add("L1_A",0,"LA").LinkCaption = "<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link"
		.Add "L1_B",0,"LB"
		.Add "L2_A","LA","LA2"
		.Add "L2_B","LB","LB2"
	End With
End With

VB.NET

With Exchartview1
	.IndentSiblingY = 30
	.ShowLinksDir = True
	.PenWidthLink = 2
	.LinkColor = Color.FromArgb(0,0,0)
	.AntiAliasing = True
	With .Nodes
		.Add("L1_A",0,"LA").LinkCaption = "<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link"
		.Add("L1_B",0,"LB")
		.Add("L2_A","LA","LA2")
		.Add("L2_B","LB","LB2")
	End With
End With

VB.NET for /COM

With AxChartView1
	.IndentSiblingY = 30
	.ShowLinksDir = True
	.PenWidthLink = 2
	.LinkColor = RGB(0,0,0)
	.AntiAliasing = True
	With .Nodes
		.Add("L1_A",0,"LA").LinkCaption = "<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link"
		.Add("L1_B",0,"LB")
		.Add("L2_A","LA","LA2")
		.Add("L2_B","LB","LB2")
	End With
End With

C++

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXORGCHARTLib' for the library: 'ExOrgChart 1.0 Control Library'

	#import <ExOrgChart.dll>
	using namespace EXORGCHARTLib;
*/
EXORGCHARTLib::IChartViewPtr spChartView1 = GetDlgItem(IDC_CHARTVIEW1)->GetControlUnknown();
spChartView1->PutIndentSiblingY(30);
spChartView1->PutShowLinksDir(VARIANT_TRUE);
spChartView1->PutPenWidthLink(2);
spChartView1->PutLinkColor(RGB(0,0,0));
spChartView1->PutAntiAliasing(VARIANT_TRUE);
EXORGCHARTLib::INodesPtr var_Nodes = spChartView1->GetNodes();
	var_Nodes->Add(L"L1_A",long(0),"LA",vtMissing,vtMissing)->PutLinkCaption(L"<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link");
	var_Nodes->Add(L"L1_B",long(0),"LB",vtMissing,vtMissing);
	var_Nodes->Add(L"L2_A","LA","LA2",vtMissing,vtMissing);
	var_Nodes->Add(L"L2_B","LB","LB2",vtMissing,vtMissing);

C#

exchartview1.IndentSiblingY = 30;
exchartview1.ShowLinksDir = true;
exchartview1.PenWidthLink = 2;
exchartview1.LinkColor = Color.FromArgb(0,0,0);
exchartview1.AntiAliasing = true;
exontrol.EXORGCHARTLib.Nodes var_Nodes = exchartview1.Nodes;
	var_Nodes.Add("L1_A",0,"LA",null,null).LinkCaption = "<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link";
	var_Nodes.Add("L1_B",0,"LB",null,null);
	var_Nodes.Add("L2_A","LA","LA2",null,null);
	var_Nodes.Add("L2_B","LB","LB2",null,null);

C# for /COM

axChartView1.IndentSiblingY = 30;
axChartView1.ShowLinksDir = true;
axChartView1.PenWidthLink = 2;
axChartView1.LinkColor = Color.FromArgb(0,0,0);
axChartView1.AntiAliasing = true;
EXORGCHARTLib.Nodes var_Nodes = axChartView1.Nodes;
	var_Nodes.Add("L1_A",0,"LA",null,null).LinkCaption = "<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link";
	var_Nodes.Add("L1_B",0,"LB",null,null);
	var_Nodes.Add("L2_A","LA","LA2",null,null);
	var_Nodes.Add("L2_B","LB","LB2",null,null);

X++ (Dynamics Ax 2009)

public void init()
{
	COM com_Node,com_Nodes;
	anytype var_Node,var_Nodes;
	;

	super();

	exchartview1.IndentSiblingY(30);
	exchartview1.ShowLinksDir(true);
	exchartview1.PenWidthLink(2);
	exchartview1.LinkColor(WinApi::RGB2int(0,0,0));
	exchartview1.AntiAliasing(true);
	var_Nodes = exchartview1.Nodes(); com_Nodes = var_Nodes;
		var_Node = COM::createFromObject(com_Nodes.Add("L1_A",COMVariant::createFromInt(0),"LA")); com_Node = var_Node;
		com_Node.LinkCaption("<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link");
		com_Nodes.Add("L1_B",COMVariant::createFromInt(0),"LB");
		com_Nodes.Add("L2_A","LA","LA2");
		com_Nodes.Add("L2_B","LB","LB2");
}

Delphi 8 (.NET only)

with AxChartView1 do
begin
	IndentSiblingY := 30;
	ShowLinksDir := True;
	PenWidthLink := 2;
	LinkColor := Color.FromArgb(0,0,0);
	AntiAliasing := True;
	with Nodes do
	begin
		Add('L1_A',TObject(0),'LA',Nil,Nil).LinkCaption := '<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link';
		Add('L1_B',TObject(0),'LB',Nil,Nil);
		Add('L2_A','LA','LA2',Nil,Nil);
		Add('L2_B','LB','LB2',Nil,Nil);
	end;
end

Delphi (standard)

with ChartView1 do
begin
	IndentSiblingY := 30;
	ShowLinksDir := True;
	PenWidthLink := 2;
	LinkColor := RGB(0,0,0);
	AntiAliasing := True;
	with Nodes do
	begin
		Add('L1_A',OleVariant(0),'LA',Null,Null).LinkCaption := '<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link';
		Add('L1_B',OleVariant(0),'LB',Null,Null);
		Add('L2_A','LA','LA2',Null,Null);
		Add('L2_B','LB','LB2',Null,Null);
	end;
end

VFP

with thisform.ChartView1
	.IndentSiblingY = 30
	.ShowLinksDir = .T.
	.PenWidthLink = 2
	.LinkColor = RGB(0,0,0)
	.AntiAliasing = .T.
	with .Nodes
		.Add("L1_A",0,"LA").LinkCaption = "<fgcolor=FF0000><font ;6>caption<br><c><bgcolor=FFFFFF><a>link"
		.Add("L1_B",0,"LB")
		.Add("L2_A","LA","LA2")
		.Add("L2_B","LB","LB2")
	endwith
endwith