Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm now working on a .net/c# project requires to generate a contract pdf file (for printing and browsing purpose) based on some info traced from database.
The file also concludes several pages content which is fixed. It seems that crystal report does not deal well with multiple pages files. I also did research online, someone said use iTextSharp.
The question is the format of the file can be complicated. iTextSharp is kinda of not efficient on this issue.
Anyone has an idea?
PDF Sharp is an excellent library for this. They also have Migra-Doc which allows you to write documents to pdf, xps and rtf. The API is robust and based on GDI, pages shouldn't be a problem, you can even draw tables and stuff.
Quick Samples are here but download the project source, they have a hoard of good samples.
Please take a look at Windward Reports (I'm the CTO at Windward). With Windward you design in Word, Excel, or PowerPoint so anything, no matter how complex, that you can layout in Office, we can then render with data in PDF.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I would like the best way and method to convert from PDF to HTML, Note the PDFs contain different layouts, smart arts, images. Can you please suggest? I would actually prefer an API which I can use in a C# program and thus programmatically convert a number of files. I would prefer converting the images and embed them as base64 itself
Some time ago (2013), I developed a PDF to epub (a variation of HTML) converter.
I also wanted to develop in C# and looked what was available, but the best libraries are in C/C++. You probably know that PDF is a very tricky format, and even the best converters fail on some documents, so you really have to stick with the best options.
From C#, you can easily call C or C++ functions, so using a library in those languages is not be much of a problem.
Poppler http://poppler.freedesktop.org/ is the PDF library that I chose: It is based on Xpdf PDF viewer. It is reliable but you will have to postprocess the HTML code anyway. This package contains command line utilities including pdftohtml, a PDF to HTML converter. Sources files are also available.
Another very good option is PDFLib: http://www.pdflib.com/ It is a commercial product.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have a requirement to split a large pdf document into smaller files based on the content of the file. We use BCL easyPDF to manipulate pdf files. easyPDF can split pdf documents based on a page number, but it cannot split the document based on the file content. Also it does not have a search function (as far as I can tell, if I am wrong please someone let me know.) to determine the location of the content.
Now can someone tell me how I can find the location of text in a pdf file using .net?
Thanks
You might try Docotic.Pdf library for your task.
The library can extract text from PDFs (with or without formatting).
Or you could just retrieve a collection of words with their bounding rectangles from PDFs. This should help you to find location of the text in a file.
Disclaimer: I work for the vendor of the library.
You need a PDF library in .NET such as iText.Net.
take a look at this question. there are links to some libraries that may satisfy your requirements
How to programatically search a PDF document in c#
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am searching any kind of tool which can be convert any kind of extension of them (doc,docx,xls,xlsx,jpeg,jpg,txt,pdf,rtf) into pdf file in asp.net code like aspose tool but its too much costly i want same functionality like aspose tool but not much expensive.
Please suggest me any kind of tool like this....
Thanks
iTextSharp maybe would do the trick for you?
Here is a link for you
I am sure that if you want to put the time into it, the office com-interop objects can do it. Libre office has an api that can do it as well.
3-Heights have a component (Document Converter) that does this. For HTMl there are several other alternatives (see here: Convert HTML to PDF in .NET).
If you have full control over the web server, you could try to print those documents to a PDF printer or use an installed Acrobat Writer, though I wouldn't recommend this solution. It has somehow the smell of a hack...
Edit: 3 Heights Document Converter Service
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm developing a tool in ASP.Net MVC 3 Razor. There is a page where the candidate uploads the Curriculum Vitae (rtf, pdf, doc, docx formats supported).
I've done that part. But now the challenging part for me is that, I need to have another page to view the CV uploaded by the Candidate. So, this is kinda document viewer shown in a browser to see what has been uploaded. This should work even in the absence of Acrobat / MS word installations.
Please can someone throw some light on this?
There are couple of commercial and non-commercial solutions for viewing documents on web. Also there are mostly two different types: Flash-based or HTML-based. Also some viewers are cable of viewing remote files and some don't which you need to upload documents to their servers to be able to use their viewers!
If you need quick and free ways I really recommend following options:
Google Docs document viewer
http://crocodoc.com/ (Also Commercial)
https://viewer.zoho.com/home.do (RIP! Not available anymore!)
If you need to secure documents and limit access to authorized users only, then I really recommend going to commercial solutions which will give you more sophisticated APIs to implement it. I hope this helps :-)
You may give Doconut a try. More details at http://www.doconut.com
It is able to view all popular document formats and works for MVC also.
PS: I am the author of the tool
At work, we use Aspose.Words to convert different document types to XPS and render them in the browser using the Silverlight Document Toolkit. Aspose has components for other types of files as well such as PDF and Excel documents. Both products are commercial and especially the Aspose components are not cheap. The combination has worked great for us so far.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I would need to edit a pdf at runtime in C#.NET. Is this possible? Like copying things in the pdf, editing textfields, ...?
Look at iTextSHARP. It's a .NET library for manipulating PDFs.
It is definitely possible, but not with what is built-in to .NET (unless you are a PDF format guru and can roll your own). I've mostly used Aspose for manipulating PDFs, but there are a lot of toolkits out there. Personally, I think Aspose is a little rough around the edges but not moreso than other kits.
Well there's iTextSharp : http://sourceforge.net/projects/itextsharp/ with which you can write pdf files, but I don't think it has editing (reading pdf) capabilities, or they will be limited.
I've never found a way to edit PDF's, unless you buy some third party tool ...
Look at this
iText# (iTextSharp) is a port of the iText open source java library for PDF generation written entirely in C# for the .NET platform.
Docotic.Pdf library may be used to edit PDF files. You can fill forms, import and export forms data, extract text, append documents and so on. Please take a look at samples for the library.
Disclaimer: I work for Bit Miracle.
It can be done, have a look at iTextSharp.
ITextSharp is good for adding things to a PDF.
These PDF components are also pretty good: www.tallcomponents.com