- Posts: 20
- Thank you received: 0
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
IP: 192.168.0.71
11 years 9 months ago #7846
by hassan31
Want Horizontal Paging of PDF was created 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.
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.
IP: 192.168.0.167
11 years 9 months ago #7847
by Davide
Replied by Davide on topic Want Horizontal Paging of PDF
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) :
There isn't a class to underline the links, you have to implement it by yourself..
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..
IP: 192.168.0.71
11 years 9 months ago #7848
by hassan31
Replied by hassan31 on topic Want Horizontal Paging of PDF
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
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
IP: 192.168.0.71
11 years 9 months ago #7849
by hassan31
Replied by hassan31 on topic Want Horizontal Paging of PDF
Hello,
Its done, thanks
Its done, thanks
Time to create page: 0.405 seconds