PointsInRows: Boolean;
The PointsInRows property determines positions of sphere names in the specified range (in rows or in columns). When the property is set to True, the points names are taken from the rows of the range. When the property is set to False, the points names are taken from the range columns.
The property is set to True by default.
Executing the example requires a regular report with the REGULAR_REPORT identifier, the report sheet contains a 3D scene with specific source data and data in the range B6:E6. A unit is added to the report that is used to call the GetPointsInRows procedure using the hyperlink. Add links to the Report, Tab, Metabase system assemblies.
Sub GetPointsInRows;
Var
Report: IPrxReport;
Tab: ITabSheet;
s: IPrxScene3D;
ser: IPrxScene3DNamedPointSerie;
Begin
Report := PrxReport.ActiveReport;
Tab := (Report.ActiveSheet As IPrxTable).TabSheet;
s := Tab.Objects.Item(0).Extension As IPrxScene3D;
ser := s.Series.Item(s.Series.Count - 1) As IPrxScene3DNamedPointSerie;
If ser.PointsInRows Then
ser.PointsInRows := False;
End If;
ser.Points := "B6:E6";
End Sub GetPointsInRows;
After executing the example on clicking the hyperlink the points names are taken from the specified range columns.
See also: