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

How can i have the current page number of pdf ?

More
10 years 5 months ago #10520 by saynas
Hello i need to know the current page number when pdf is openig in order to get the current page . exmple we are on the secon page
PDFVPage currentPage = m_reader.m_view.vGetPage(2);
I need help. Thinks a lot
More
10 years 5 months ago - 10 years 5 months ago #10522 by Davide
Hi,
you can get pageno from x and y using :
Code:
PDFPos pos = m_view.vGetPos(x, y); pos.pageno;
For more info check : www.radaeepdf.com/documentation/javadocs...tml#vGetPos-int-int-

You can also get pageno from m_pageno or add this method to PDFReader to get it from PDFReaderAct :
Code:
public int getPageno() { return m_pageno; }
Last edit: 10 years 5 months ago by Davide.
Time to create page: 0.383 seconds
Powered by Kunena Forum