Express > Express Assembly Interfaces > IEaxAnalyzeCore > IEaxAnalyzeCore.PagesCount
PagesCount: Integer;
The PagesCount property returns the number of report pages that will be printed using the current page parameters.
Sub UserProc;
Var
MB: IMetabase;
Expr: IEaxAnalyzer;
i: Integer;
Begin
MB := MetabaseClass.Active;
Expr := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
i := Expr.PagesCount;
End Sub UserProc;
After executing the example the variable contains the number of pages, on which the express report was printed. Express report identifier - EXPRESS_REPORT.
See also: