DisplayPaperOut: Boolean;
The DisplayPaperOut property determines the visibility of breaking into pages.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Rep: IPrxReport;
View: ITabView;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("Report_1").Edit;
Rep := MObj As IPrxReport;
View := Rep.ActiveSheet.Table.View;
View.DisplayPaperOut := True;
MObj.Save;
End Sub Main;
After executing the example for the regular report active sheet breaking into pages will be enabled. The identifier of the regular report is Report_1.
See also: