问题
I'm creating a Windows 8/Metro App and am looking for a library that can generate PDF documents programmatically (that can either be printed or emailed by the user).
I've found some C# libraries for PDF writing (http://itextpdf.com/ for example) but I've been unable to get them to work in Windows 8.
Any help would be appreciated.
回答1:
After an exhausting search, I've found the answer to my own question: Siberix Report Writer (www.siberix.com). They have versions for .NET, Silverlight, Mono for Android, AND for Windows Store. The binaries are only $199 ($3500 if you want source).
It is very easy to wrap into your application, comes with great code examples, and the technical customer service is very quick and helpful (thank you Victor).
One of the best third party products I've seen in a long time.
回答2:
There are some paid pdf libraries for WinRT but nothing free yet.
回答3:
ComponentOne has now released their .NET PDF library for Windows Runtime.
回答4:
meanwhile there are quite a few libraries that support Pdf generation. You'll find a good overview in Mike Taulty's Blog.
However, I ran into issues when I was trying to annotate existing Pdfs. The existing libraries capable of (transparent) annotations are quite pricy. Therefore, I ended up annotating the Pdf on the server side.
Feel free to read more about my experience at Mils's blog.
来源:https://stackoverflow.com/questions/11109427/looking-for-a-pdf-writer-for-windows-8-metro-apps