问题
Is there any PDF writer for Windows 8 / Metro Application? I am developing a Windows 8 App and looking for a library that can generate PDF documents programmatically which can be used to print or email.
回答1:
iTextSharp is a C# port of a Java library called iText. Most of the updated documentation you'll find on the web will be in Java, but the API remains basically the same.
See this Hello World example. Many others can be found here (or you can browse them sorted by keyword).
EDIT : it looks like some dependencies can't be fullfilled in the Metro env, so iTextSharp won't be a solution.
来源:https://stackoverflow.com/questions/12399597/free-pdf-writer-for-windows-8-metro-apps