Sign a PDF using C# and a free 3rd party component? - c#

is there a reliable way to sign PDFs from a commercial ASP.NET (C#) application? The component should be free to use. I saw iText, but its not free for commercial use.
Thanks

You can use ITextSharp as long as you use version 4.1.6 or older. Unfortunately, they have removed it from sourceforge but you can download it (with a sample application) at https://web.archive.org/web/20211020001758/https://www.4guysfromrolla.com/articles/030911-1.aspx.
I have been using it for filling pdf forms and it works like a charm :-).

Try PDF Sharp : http://www.pdfsharp.net/.

Related

Save EmailBody as PDF file using EWS API

I'm using Exchange Web Services Managed API 2.0 to connect to Exchange server 2010. I wanted to download email body to a PDF file in a folder on the disk.
I do not want to use any paid third party to integrate.
Any help will be appreciated.
PdfSharp is a great free library for creating and manipulating PDFs. See this answer, it should set you in the right direction.
Edit: Seems like PdfSharp doesn't actually provide an option to convert an HTML to PDF. I have since explored different libraries. I found that ChromeHtmlToPdf is a good free alternative and easy to use. Bear in mind that it uses Chrome to work it's magic.

Convert HTML page to PDF without using itextsharp.dll in asp.net

I am using asp.net with C#. I want to convert my html page to pdf. But I don't want to use "itextsharp.dll" for the same.
I went to lot of Google and sites. I am looking for some free one.
There is no such inbuilt functionality available in asp.net by default. You have to use any third party dll for this one. I would advice to take a look on the PDFSharp library
Take a look at PdfSharp. It's an open source library that easily creates PDF documents from any .NET language.

Open PDF and print to PDF programmatically C#

I am developing an application that is able to open and display PDFs after I open them and print them to another PDF using CutePDF, but the originals are not viewable.
I am looking for a way to programmatically open a PDF file, and print to another PDF file (not necessarily using CutePDF, just printing to another PDF is the desired functionality).
This will be integrated into a C# .NET project. Are there any suggestions how to go about doing this?
Thanks.
You could use Office Interop and generate the PDF, when you say "print to another pdf", I imagine you mean just generate? Or are you saying spool them to a pdf print driver that essentially will just create a PDF to be saved.
Use iText, which is available in Java and C# versions. I have used the Java version successfully. I recommend the iText in Action book to help you get up to speed with iText faster. The book discusses only the Java API, but I imagine you will be able to learn the principles of iText from the book and then figure out the minor differences for the C# version.
To implement this you can use PDFFlow library for generating PDF files from C#. It has easy fluent syntax and many features.
Here are many examples of real complex PDF documents: examples
Good luck :)

conversion of jpeg picture to pdf file

I need to convert a set of jpeg images into a pdf file (which should contain all the jpeg).
I want to do it in .Net1.1 and programatically in C#.
You could use iTextSharp to create the pdf and add images to it. Here's a sample.
You could try ImageMagick.NET - it's a wrapper around ImageMagick, which can convert pretty much anything into anything. (I've only used the command line tool.)
If there's a problem with support for older .NET versions, just execute the command line tool yourself - it's the same thing.
Use one of them open source pdf library - http://csharp-source.net/open-source/pdf-libraries
Please try Aspose.Pdf for .NET in order to either convert the images to PDF file or add images to an existing PDF file. This works with .NET 1.1 and above. You can use it in any of your .NET applications using C# or VB.NET. It works on both 32-bit and 64-bit systems alike. Please try the component at your end.
Disclosure: I work as a developer evangelist at Aspose.

HTML Printing

I am too cheap to buy crystal reports so i built the report in asp.net, the only problem I'm facing is printing the report and making it look professional. On different printer's the report looks diff, i want to be able to control the final output and make the report print standard across all printers. You guys have any suggestions on how to achieve this properly?
Why not just use Reporting Services? It's free and easy to integrate with both WebForms and WinForms apps. Supports export to PDF, Excel, etc.
Mabye a stylesheet? Google it, good luck
You could try implementing a print stylesheet (you'll find many examples Googling the term), but that can be laborious if you're not familiar with css.
If you're checking out pdf solutions, I've used iTextSharp to create pdfs. It's relatively easy, open source and mature and used by many corporations.
You could try printing to a PDF. Not sure what your budget is, but ExpertPDF is a good option I'm using now.
You could create the report as a PDF using a C# library such as PDFsharp (Open-Source).
This approach allows you to:
Serve PDF files to your user, giving them the option to:
print it now
archive it for later use
Automatically email reports to your users using a scheduled task
Store generated PDFs in a database or on the file system
cutePDF is a free PDF writer and should work for what you need

Categories