IScene3DSeries.Item

Syntax

Item(Index: Integer): IScene3DSerie;

Parameters

Index - scene series index.

Description

The Item property returns the scene series by the specified index.

Example

This example assumes that there is the S object of the IScene3D type and the ListBox component.

Sub User;

Var

serie : IScene3DSerie;

i : integer;

Begin

ListBox1.Items.Clear;

For i := 0 To s.Series.Count - 1 Do

serie := s.Series.Item(i);

ListBox1.Items.Add("Serie" + i.ToString + "; Key=" + serie.Key.ToString + "; Type=" + Serie.Type.ToString);

End For;

End Sub User;

After executing the example the component will receive parameters of all available series from the universal collection.

See also:

IScene3DSeries