IScene3DSeries.Count

Syntax

Count: Integer;

Description

The Count property returns the number of scene series.

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