Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Roman numerals as page numbers

More
IP: 212.97.62.176 8 years 1 week ago #13995 by emanuele
Hi,

we double checked the new beta version with the pdf file provided by you, and this code in viewWillAppear method:
Code:
NSString *pagenumber = [m_doc pageLabel:0]; NSLog(@"%@", pagenumber);
returns {"r":1}

Please try to remove the app from your device and reinstall using the latest beta version
More
IP: 105.225.58.175 8 years 1 week ago #14001 by cornelius
Thank you

I deleted the app and re-tested it. The page numbers do work on the sample PDF I provided, but it doesn't work on the other PDFs.
I tried a few PDFs and all of them return nil except the sample PDF I provided
More
IP: 212.97.62.176 8 years 1 week ago #14004 by emanuele
can you please provide a pdf file with the issue?
More
IP: 105.227.181.231 8 years 3 days ago #14011 by cornelius
Hi

You can use the PDF in you sample app. I can replicate this with the help.pdf file
More
IP: 212.97.62.176 8 years 3 days ago #14012 by emanuele
Hi,

pageLabel method follows the PDF reference 1.7 (section 8.3.1), but help.pdf version is 1.5.
Older versions probably don't follow the same references and, in this cases, you have to use Advanced APIs to get the page label.
Time to create page: 0.467 seconds
Powered by Kunena Forum