Im building a long PDF out of multiple documents. Each document is created as its own Section, then added to a Pdf.
Each section/document in the PDF needs to have its own page numbers ie, “page X of Y” where Y is the number of pages in the section/document, NOT the whole PDF. ($P will just insert the number of pages for the whole long pdf)
The X is properly inserted after finding the section.IsPageNumberRestarted option, and I THOUGHT section.PageCount would have taken care of the Y number, but it always returns 0.
Is that a bug? And if not, am I using it improperly? If it is a bug, is there a workaround?
what is the best way to get the number of pages in a section and insert that into the section footer?
thanks in advance