so.. The only code I can find that you can use in HiQPdf to number the pages is this:
// add page numbering
Font pageNumberingFont = new Font(new FontFamily("Times New Roman"), 8, GraphicsUnit.Point);
PdfText pageNumberingText = new PdfText(5, footerHeight - 12,
"Page {CrtPage} of {PageCount}",
pageNumberingFont);
Any Google search I try pretty much pulls up the same thing.
I'm creating and merging a number of PDF pages together.
The code above makes me think that {CrtPage}
and {PageCount}
is filled in by some internal variable, but it doesn't.
Contacting their customer service just gets us a photocopy of their demo project that has this same code somewhere in it.
Update:
I forgot to mention that the HiQPdf "merge" example has each page being created separately as a file, then opened back up and put together as one document, but I'm looking at generating the page numbers on the fly.