2

I am creating report with help of code:

FastReportBuilder fr = new FastReportBuilder();

I want to add page number in footer of each page like.

page 1/3
page 2/3
Alex K
  • 22,315
  • 19
  • 108
  • 236
Muhammad Imran Tariq
  • 22,654
  • 47
  • 125
  • 190

1 Answers1

6

As documented in the HOW-TO something like this:

FastReportBuilder fr = new FastReportBuilder();
fr.addAutoText(
    AutoText.AUTOTEXT_PAGE_X_SLASH_Y,
    AutoText.POSITION_FOOTER,
    AutoText.ALIGNMENT_LEFT
)
ig0774
  • 39,669
  • 3
  • 55
  • 57