How to convert a XPS file to an image in high quality (rather than blurry low resolution)?
问题 I'm trying to convert an XPS with WPF. The idea is that these images can be loaded with silverlight 4, for this I am using the following code: // XPS Document XpsDocument xpsDoc = new XpsDocument(xpsFileName, System.IO.FileAccess.Read); FixedDocumentSequence docSeq = xpsDoc.GetFixedDocumentSequence(); // The number of pages PageCount = docSeq.References[0].GetDocument(false).Pages.Count; DocumentPage sizePage = docSeq.DocumentPaginator.GetPage(0); PageHeight = sizePage.Size.Height; PageWidth