PaperFormat: GxPaperFormat;
The PaperFormat property determines page format.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Report: IPrxReport;
PageSet: IGxPageSettings;
Begin
MB:=MetabaseClass.Active;
MObj:=MB.ItemById("Report").Edit;
Report:=MObj As IPrxReport;
PageSet:=Report.ActiveSheet.PageSettings;
PageSet.PaperFormat:=GxPaperFormat.A3;
MObj.Save;
End Sub Main;
After executing the example the A3 page format is set for the regular report with the Report identifier.
See also: