Add(ItemBreak: Integer);
ItemBreak. Break index in table.
The Add method adds a new break in the table.
After the break is placed after the column and before the row, by which it is created, a dash-dotted line is drawn.
Executing the example requires to create a regular report with the Report identifier.
Sub UserProc;
Var
MB: IMetaBase;
Report: IPrxReport;
Tab: ITabSheet;
TabPS: ITabPageSettings;
Begin
MB := MetaBaseClass.Active;
Report := MB.ItemById("Report").Edit As IPrxReport;
Tab := (Report.Sheets.Item(0) As IPrxTable).TabSheet;
TabPS := Tab.PageSettings;
TabPS.ColumnsBreaks.Add(3);
TabPS.RowsBreaks.Add(5);
(Report As IMetabaseObject).Save;
End Sub UserProc;
After executing the example the first page of the report contains breaks by columns and rows.
See also: