IGxPageSettings.PaperFormat

Syntax

PaperFormat: GxPaperFormat;

Description

The PaperFormat property determines page format.

Example

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:

IGxPageSettings