Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

How to get the current page no of pdf 10 years 6 months ago #6664

  • biplab2014
  • biplab2014's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
:dry:
How to get the current page no of a pdf?.

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

How to get the current page no of pdf 10 years 6 months ago #6665

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
there are callback method OnPageChanged();

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

How to get the current page no of pdf 10 years 6 months ago #6674

  • biplab2014
  • biplab2014's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
i find out the method. But how to call and get the page no?

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

How to get the current page no of pdf 10 years 6 months ago #6677

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
an alternative is to created a get method in PDFReader to return the value of m_pageno

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

How to get the current page no of pdf 10 years 6 months ago #6687

  • biplab2014
  • biplab2014's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
public int GetPageNo()
{
int pageno = m_pageno;
System.out.println("PageNo = "+pageno);
return pageno;
}

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

How to get the current page no of pdf 6 months 1 week ago #15892

  • rohsha2
  • rohsha2's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
To get the current page number of a PDF, you can use a PDF reader’s built-in tools or software. For advanced needs , consider using PDF libraries in programming languages, such as PyPDF2 for Python.

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum