I'm looking for a C# PDF generation library compatible with windows 8.1 apps. Is there any free for commercial use solution?
2 Answers
If you want to go with using a commercial product, you should check out the LEADTOOLS PDF SDK. You can use the LEADTOOLS libraries to simply convert any previous documents that you have to a PDF format.
The easiest way of doing so would be to load your original document using our RasterCodecs.Load() method then save using the RasterCodecs.Save() method and specifying the output as a PDF.
Just to show how simple this can be done here is a code snippet of the process:
RasterCodecs codecs = new RasterCodecs();
RasterImage image = codecs.Load(<PATH TO FILE LOCATION>);
codecs.Save(image, <DESTINATION PATH>, RasterImageFormat.RasPdf, 0);
Disclaimer: I am an employee of this product
Essential PDF can be used to generate the PDF from C# on Windows 8.1 (and other platforms).
The whole suite of controls is available for free (commercial applications also) through the community license program if you qualify. Note: I work for Syncfusion.