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

TOPIC:

How to show content and on click of chapter ? 7 years 1 month ago #12060

  • rachnasagar
  • rachnasagar's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 69
  • Thank you received: 0
I am sending you Image and written there details and pdf in which I have to implement.
Attachments:

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

How to show content and on click of chapter ? 7 years 1 month ago #12064

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
if the pdf already has these lines (chapters) added as link annotation, you can get the destination page using annot.GetDest() and go to page using m_view.PDFGotoPage(pageno).

If not, you can achieve this only by adding a link (goto annotation) for each line of your TOC using AddAnnotGoto(float[] rect, int pageno, float top) as suggested before.

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum