TiPlotAnnotationObject.ImageIndex

TiPlotAnnotationObject

Specifies the image to display for this annotation.

property ImageIndex : Integer;

Description

Use ImageIndex to get or set the image to display for this annotation. The component's built-in image list is zero-based; the first image is indexed by 0, the second by 1, and so forth. For example, if ImageIndex = 2, the annotation displays the third image in the list. The plot component supports several different lists. You specify which list ImageIndex refers to by using the ImageListIndex property..

This property only has effect if the Annotation Style property is set to ipasImage.

Example

Delphi

iComponent.Annotation[0].ImageIndex := 2; //Displays the third image in the list

C++ Builder

iComponent->Annotation[0]->ImageIndex = 2; //Displays the third image in the list

Contents | Index | Previous | Next