SetLegend method: OrgChart class
Syntax
SetLegend(&Array_of_String)
Description
Use the SetLegend method to specify legend text. Legend text labels the images set using SetLegendImg.
If you do not specify an element for an array (that is, a blank or a null) then no legend is listed for that node.
Note:
Legend text is not automatically translated. If you set your own labels, be sure to use translated text, such as message catalog entries.
Parameters
| Parameter | Description |
|---|---|
|
&Array_of_String |
Specify an already instantiated array of string, containing the text that you want to use for the legend. |
Returns
None.
Example
&LegendArray = CreateArray("A", "B", C", "D ");
&ocOrgChart.SetLegend (&LegendArray);
Related Topics