开发者

Using ITextSharp to generate XPS documents instead of PDF?

I'm using ITextSharp to generate PDF fi开发者_如何学Goles. Is it also possible to generate XPS files? And if yes, how?

Can't find any documentation. Thanks!


iTextSharp is a library specifically built to generate PDF files, so that is not going to create XPS files for you. The System.Windows.Xps namespace provides you with methods for writing XPS documents from your code for .net 3.5 and higher.


An Idea: You could try creating the PDF using iTextSharp, then converting it to XPS using GhostScript to print to an XPS printer driver?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜