PageInnerRect: IGxRectF;
The PageInnerRect property returns the object containing inner page area together with page margins.
Sub Main;
Var
MB: IMetabase;
Expr: IEaxAnalyzer;
w,h: Double;
Begin
MB:=MetabaseClass.Active;
Expr:=MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
h:=Expr.PageInnerRect.Height;
w:=Expr.PageInnerRect.Width;
End Sub Main;
After executing the example, the w and h variables contain width and height of the page working area, excluding page margins. Express report identifier - EXPRESS_REPORT.
See also: