Radius: String;
The Radius property determines a range of radius values for spheres and points. The values should belong to the range [0;0.5].
Executing the example requires a regular report with the REGULAR_REPORT identifier, the report sheet contains a 3D scene with source data and data in the range F1:F3. A unit is added to the report that is used to call the GetRadius procedure using the hyperlink. Add links to the Report, Tab, Metabase, Drawing system assemblies.
Sub GetRadius;
Var
Report: IPrxReport;
Tab: ITabSheet;
s: IPrxScene3D;
ser: IPrxScene3DPointSerie;
Begin
Report := PrxReport.ActiveReport;
Tab := (Report.ActiveSheet As IPrxTable).TabSheet;
s := Tab.Objects.Item(0).Extension As IPrxScene3D;
ser := s.Series.Item(0) As IPrxScene3DPointSerie;
ser.Radius := "F1:F3";
ser.RadiusRange.Style.BackgroundColor := New GxColor.CreateRGB(0, 255, 0);
End Sub GetRadius;
After executing the example clicking the hyperlink sets radius values for points, and the cells containing this data are filled with color.
See also: