TextStyle: IScene3DTextStyle;
The TextStyle property determines label parameters. Use the IScene3DTextStyle interface to work with available parameters.
This example assumes that there is the object S of the IScene3D type.
Sub Chart3D;
Var
s : IScene3D;
SpG : IScene3DNamedSphereGroup;
Begin
s.DisplayedObjects.NamedSphereGroups.Count := 1;
SpG := s.DisplayedObjects.NamedSphereGroups.Item(0);
SpG.SphereCount := 3;
s.BeginUpdate;
SpG.SphereItem(0).ValueX := 0.02;
SpG.SphereItem(0).ValueY := 0.01;
SpG.SphereItem(1).ValueX := 0.01;
SpG.SphereItem(0).Name := "point ?1";
Spg.TextStyle.Color := New GxColor.CreateRGB(255,0,0);
s.EndUpdate;
End Sub Chart3D;
After executing the example name of the point with the 0 index is displayed in red color.
See also: