New Forum | Previous | Next | (P-PDF) Developers
Topic: Placing Page # of # on a page
Conf: (P-PDF) Developers, Msg: 37425
Date: 3/27/2002 05:18 AM
I need to place "Page # of ##" (where # is the current page and ## is the total pages) as a label at the bottom of each page of my pdf. The pdf will have templates so I will not know the exact page # of each template or total pages of the pdf until the pdf is opened by a fdf file. The fdf will have information as to what and how many templates to spawn.
I am setting the page number of each page on "Page Open" using "Document\Set Page Action". I place the # and ## value in seperate text fields and have "Page" and "of" as labels.
This seems to work OK for the current page #. But the total page number seems to be including unopened templates in it's total. I only want to show the total used pages in the total page field.
Do I use some other property than "numPages"? Any other ideas?
Thanks in advance for your help.