IGxPageSettings.PaperSize

Syntax

PaperSize: IGxSizeF;

Description

The PaperSize property returns an object that contains page size.

Example

Sub Main;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Report: IPrxReport;
    PageSet: IGxPageSettings;
    PaperSize: IGxSizeF;
    h: Double;
Begin
    MB:=MetabaseClass.Active;
    MObj:=MB.ItemById(
"Report").Bind;
    Report:=MObj 
As IPrxReport;
    PageSet:=Report.ActiveSheet.PageSettings;
    PaperSize:=PageSet.PaperSize;
    h:=PaperSize.Height;
End Sub Main;

After executing the example the "h" variable contains the height of the regular report page. The identifier of the regular report - Report.

See also:

IGxPageSettings