This will probably be my shortest post ever.
For a while now, I've been looking for a decent PDF
library for .NET. Now I think that I've found one in SharpPDF.
Here is the code that is needed to create a Hello World PDF document:
sharpPDF.pdfDocument myDoc = new sharpPDF.pdfDocument("Hello World TTF Application", "Me", false);
sharpPDF.pdfPage myPage = myDoc.addPage(sharpPDF.Enumerators.predefinedPageSize.csA4Page);
myDoc.addTrueTypeFont(@"c:\Fonts\arial.ttf","arial");
myPage.addText("Hello World", 100, 300, myDoc.getFontReference("arial"), 20);
myDoc.createPDF(@"c:\HelloWorld_TTF.pdf");
myPage = null;
myDoc = null;
I'm going to start playing around with it.
One thing that I'm interested to know is what PDF creators/editors/libraries
are being used in the industry at the moment. If you're reading this, the
perhaps you can post a comment telling us about what PDF tool(s) you use (with
link) and what sort of licensing it requires.