I've been hacking around with creating PDF files from my C# project. I've tested PDFSharp and iTextSharp. Both look pretty good and you can't beat the price on them. FREE! Anyway, what I'm wanting to do is to replace an archaic system around here which
uses Excel. The trouble is that Excel has all those neat built-in formatting tools for doing things like borders around cells, background colors, etc... When my PDF file is complete I want it to look just like we printed one of the Excel worksheets. But I'm
not finding any information on how to use one of these PDF libraries on how to do anything but print plain text. I know this is not going to be easy and in the end I may opt for dumping all the data to an Excel spreadsheet and then auto print this to a PDF
file. But since the main goal is to get Excel out of the loop in the first place, I'm not convinced that's the method to use.
↧