If you are using the PDFL, there is not current page number - you are not
displaying the document, so there is no way to get from a PDDoc to a page
number. If you do have the PDPage, you can just use PDPageGetNumber() to
get the page number.
If you are using the PDFL, there is not current page number - you are not
displaying the document, so there is no way to get from a PDDoc to a page
number. If you do have the PDPage, you can just use PDPageGetNumber() to
get the page number.