i am working on an electronic learning that involves a user to read book online. the book is in pdf format. i need steps to follow to implement pdf books into my design. Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rahul PrasadPosted Jul 16, 2014, 3:34 AM
Have you got your issue resolved by following the advice from Anderson ?If you're planning to develop an application that enables users open and read exsiting PDF file from web browser, I can share with you some useful experience if you need.
Thomus AndersonPosted Jul 14, 2014, 9:05 AM
I think Munesh Sharma gave a way of adding text to PDF files and not for viewing them online. If your PDF files are already created and you want to view them in a web browser, some of them already support PDF viewing such as FireFox and Chrome.
If you want to view the PDF using any browser, you could implement a server-side conversion routine to convert the PDF to a web-friendly format such as PNG or JPG so that the user can view it even if his browser doesn't support PDF. To do the conversion, you will need a library such as iTextSharp or Leadtools.
Munesh SharmaPosted Apr 22, 2014, 7:23 AM
http://www.youtube.com/watch?v=DaqZTROltEg
Document doc = new Document();
PdfWriter.GetInstance(doc, new FileStream("first.pdf", FileMode.Create));
doc.Open();
doc.Add(new Paragraph("Hello World"));
doc.Close();