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

Want Horizontal Paging of PDF

More
IP: 192.168.0.71 11 years 9 months ago #7846 by hassan31
Hi Team,
I want to enable the Horizontal Paging of PDF, can you please let me know in which class I can change it. Also I want to underline the links exist in the pdf. Is there any class in which I can make the links underline.?

Thanks in advance.
More
IP: 192.168.0.167 11 years 9 months ago #7847 by Davide
Hi,
to enable the Horizontal Paging of PDF you can change def_view = 3; in default_config() void of Global class or you can use this code of the PDFOpen void (PDFReader class) :
Code:
PDFViewDual view = new PDFViewDual(this.getContext()); boolean paras[] = new boolean[m_doc.GetPageCount()]; int cur = 0; while( cur < paras.length ) { paras[cur] = false; cur++; } view.vSetLayoutPara(null, paras, m_rtol); m_view = view;

There isn't a class to underline the links, you have to implement it by yourself..
More
IP: 192.168.0.71 11 years 9 months ago #7848 by hassan31
Hi,
Thanks for the quick reply. But Unfortunately I could not find "def_view" variable in the mentioned class, but instead I found "g_def_view" variable and it exists on many places in different classes. Niether I found the Class PDFReader. As I'm using the latest Updated SDK in my app.

Can you please tell me the exact place where I can change it.

Thanks in Advance
More
IP: 192.168.0.71 11 years 9 months ago #7849 by hassan31
Hello,

Its done, thanks
Time to create page: 0.405 seconds
Powered by Kunena Forum