Answered
How do you access the page number of a page?
I have spent hours on the jongware site trying to figure this out. Can someone give an assist?
I have spent hours on the jongware site trying to figure this out. Can someone give an assist?
It depends what you mean by page number. There are 2 options: (a) the physical number of the page, counting the first page as 0; (b) the name of the page (e.g. page xii, etc).
To get the physical number of the page, given myPage as a Page object:
myPage.documentOffset
To get the name of the page:
myPage.name
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.