TiPlotComponent.DeleteLegend
TiPlotComponent See Also
Deletes a specific legend object.
procedure DeleteLegend(Index : Integer);
Description
Call DeleteLegend to delete a specific legend object by specifying the index
of the object. To delete all legend objects, call RemoveAllLegends.
Currently, only one legend object is supported at this time and the multiple
legend interface is for future expansion. The LegendCount, AddLegend,
DeleteLegend, and RemoveAllLegends are reserved for property editors at this time. Always
use an Index of zero when accessing the legend.
Example
Delphi
iComponent.DeleteLegend(0); //Deletes the 1st Object
C++ Builder
iComponent->DeleteLegend(0); //Deletes the 1st Object
Note: Index is zero based.
Contents | Index | Previous | Next