https://www.cnblogs.com/zeoy/archive/2013/01/09/2852941.htmlhttps://blog.csdn.net/jafucong/article/details/78980276PdfDocument doc = new PdfDocument();doc.LoadFromFile(xpsFile,FileFormat.XPS);doc.SaveToFile(pdfFile, FileFormat.PDF);