Our ASP.NET application must be able to export web content to PDF and Word documents.
In the past, we've used Aspose's libraries to accomplish this, but we've found them to be a little too low-level in terms of document construction. e.g. We've found ourselves needing to write point-based functions using shape primitives to create bulleted lists.
Best case scenerio- we'd point a tool at our printable css-styled page and automagically get a PDF or Word document containing the same content styled in the same manner.
Have you had a good experience using any tools that could accomplish this?
ITextSharp is a pretty easy PDF tool to use with .Net (it's a port of the iText java project). Free, open source and pretty high level so this is the code for bullet points:
List overview = new List(false, 10); //false =unordered, true= numbered
overview.Add(new ListItem("This is an item"));
overview.Add("This is another item");
Doesn't do Microsoft Word though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With