Reputation: 3539
I'm looking for a free way or .Net component to display PDF files in the browser and allow for printing of the files also. What methods/components/libraries can do this, and what guidance do you have on the problem in general.
Upvotes: 3
Views: 18369
Reputation: 5438
You can do it by using this project which is based on Microsoft Silverlight framework.
In the mentioned project there are two cases:
div
iframe
and position/size itmqzJsCalls.moveHTMLZone(x,y,w,h)
from the Silverlight User Controliframe
hostContainer
I did not personally tested this particular project but I found this site good and reliable for .NET solutions.
Upvotes: 0
Reputation: 3539
http://www.beansoftware.com/ASP.NET-Tutorials/PDF-View-Custom-Control.aspx
Did what I was looking for. A control that can display a pdf in the browser on a web form, with other elements on the page, and whose pdf file source can be changed by server-side code.
Upvotes: 2
Reputation: 30837
Even with converting PDF
to HTML
or IMAGE
you will not get the same quality or something near to the original document. It's more than bunch of texts and images with PDF
.
If your clients cannot support most famous document format (portable document format -> pdf), then you need to think about the design again.
Upvotes: 0
Reputation: 4850
There are flash apps available to do this. e.g. whatever http://issuu.com/ is using.
Upvotes: 0
Reputation: 15569
If you don't want to display as PDF on the client, you have some options... Basically, most of your options revolve around converting the documenting to something else the user can use:
So why can't you rely on a PDF viewer?
Upvotes: 1
Reputation: 2992
I think you might look into this :
how to convert PDF into HTML using C#
The code will help you load the PDF as html in your document.
Upvotes: 3