Get Page Number

Get Page Number

Forum member · Sep 23, 2008
Hi, I'm trying to build a pdf document with several ZoomDestination from a page to another. Since ZoomDestination need to know the page number of its destination, I need to read it from existing pages collection, but I can't find anything in page class as i was expecting. So what's the right way to complete the page mappings of each ZoomDestinations? Maybe I've to trace an internal collection when I'm build the pages with a my counter? Thanks a lot. Mizo

Re: Get Page Number

Support · Sep 23, 2008
Hello Mizo, It is not possible to get the page number using the page or page collection. Page collection will have all the pages and you can access them by using the page index. You can get the count of the pages. You may have to use some counter to trace the page collection and the page numbers when creating the pages. Thanks, ceTe Software Support Team.