简体   繁体   English

使用 DocumentViewer 控件渲染 PDF?

[英]Render PDF using DocumentViewer control?

Is it possible to render PDF using DocumentViewer (it's WPF control) ?是否可以使用 DocumentViewer(它是 WPF 控件)呈现 PDF?

If it is possible then how ?如果可能,那么如何? Code example or link to some code example would be appreciated.代码示例或某些代码示例的链接将不胜感激。 Thanks for answers.感谢您的回答。

I don't think it is possible with the DocumentViewer - unless you convert to XPS first.我认为 DocumentViewer 不可能 - 除非您先转换为 XPS。

There are a few other threads on displaying PDF in WPF:在 WPF 中显示 PDF 还有一些其他线程:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM