ITabPageBreaks.Add

Syntax

Add(ItemBreak: Integer);

Parameters

ItemBreak. Break index in table.

Description

The Add method adds a new break in the table.

Comments

After the break is placed after the column and before the row, by which it is created, a dash-dotted line is drawn.

Example

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(0As 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:

ITabPageBreaks