textReport.getPageNumber() 関数は、現行レポートのページ番号を戻します。テキスト・レポート・エンジンは、すべてのページに 1 から始まる連番を付けます。
textReport.getPageNumber()
returns (result INT)
次の例では、currentPage に、印刷されているレポート・ページの番号が含まれています。
myReport TextReport = new TextReport();
currentPage INT;
...
currentPage = myReport.getPageNumber();