How can i have the current page number of pdf ? - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: How can i have the current page number of pdf ?

How can i have the current page number of pdf ? 3 years 3 months ago #10520

  • saynas
  • saynas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

How can i have the current page number of pdf ? 3 years 3 months ago #10522

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
Hi,
you can get pageno from x and y using :
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 :
public int getPageno() {
return m_pageno;
}

Please Log in or Create an account to join the conversation.

Last edit: by Davide.
  • Page:
  • 1
Powered by Kunena Forum