IScene3DNamedSphereGroups.Item

Syntax

Item(Index: Integer): IScene3DNamedSphereGroup;

Parameter

Index - index of a named points group.

Description

The Item property returns the named points group by the specified index.

Example

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

Sub Chart3D;

Var

s : IScene3D;

SpG : IScene3DNamedSphereGroup;

Begin

s.DisplayedObjects.NamedSphereGroups.Count := 1;

s.DisplayedObjects.NamedSphereGroups.Item(0).SphereCount := 3;

SpG := s.DisplayedObjects.NamedSphereGroups.Item(0);

//change points position

s.BeginUpdate;

SpG.SphereItem(0).ValueX := 0.02;

SpG.SphereItem(0).ValueY := 0.01;

SpG.SphereItem(1).ValueX := 0.01;

SpG.SphereItem(1).ValueY := 0.02;

s.EndUpdate;

End Sub Chart3D;

After executing the example the scene displays a group of three points with the 0 index.

See also:

IScene3DNamedSphereGroups