TiPlotComponent.AddAnnotation

TiPlotComponent See Also

Adds a single annotation object to the plot.

function AddAnnotation : Integer;

Description

Call AddAnnotation to add a single annotation object to the plot. The return value from the function is a unique index used for manipulating the object. Use the Annotation property to get or set the properties of the annotation object.

The index value for this object will decrement by one each time an annotation object with a lower index value is deleted.

Example

Delphi

Index := iComponent.AddAnnotation;

C++ Builder

Index = iComponent->AddAnnotation();

Contents | Index | Previous | Next