TiPlotComponent.DeleteLabel

TiPlotComponent See Also

Deletes a specific Label Object.

procedure DeleteLabel(Index : Integer);

Description

Call DeleteLabel to delete a specific Label Object by specifying the index of the object. To delete all Label Objects except for the first label, call RemoveAllLabels.

For backward compatibility with the older Title properties, Label index 0 can never be deleted.

Example

Delphi

iComponent.DeleteLabel(1); //Deletes 2nd Object

C++ Builder

iComponent->DeleteLabel(1); //Deletes 2nd Object

Note: Index is zero based. Index 0 can never be deleted.

Contents | Index | Previous | Next