-1

I am making an apllication universal document viewer using visual studio 2010-framework 3.5. In this i want to open a pdf file, i have used PDFTextStripper and Pdfbox but i am unable to view the text in proper format. Can anyone please suggest me any other option to view the pdf files.

Freelancer
  • 9,008
  • 7
  • 42
  • 81

1 Answers1

0

you can either write your own pdf parser based on structure doc published by adobe:
http://www.adobe.com/devnet/pdf/pdf_reference.html

or add a module. e.g.:
http://www.pdfsharp.net/MainPage.ashx
http://www.itextpdf.com/itext.php

I'd recommend writing your own code if you are about to develop an universal doc viewer as you may face legal issues otherwise if you publish(w/wo donate option) or sell your app
(IMHO: by not coding everything from scratch, it won't be your universal doc viewer anyway but a collection of 3rd party code)