3

I want to use PDFbox to read and display the contents of a PDF document. I can extract the text from the PDF document using PDFTextStripper.

My problem is how can I display all the contents in PDF document as it is? I want to display the PDF document like it is displayed in the applications like Adobe reader. Is it possible using the PDFBox in Android?

forsvarir
  • 10,243
  • 6
  • 38
  • 70
Eshwar
  • 41
  • 1
  • 2

1 Answers1

1

You could export the PDF document as images and display those. You can find an example here.

Community
  • 1
  • 1
Gabriel Negut
  • 12,932
  • 3
  • 34
  • 43