关于 c#:Render PDF 使用 DocumentViewer 控件? | 珊瑚贝

Render PDF using DocumentViewer control?


是否可以使用 DocumentViewer(它的 WPF 控件)呈现 PDF?

如果有可能,那怎么办?代码示例或一些代码示例的链接将不胜感激。
感谢您的回答。


我认为 DocumentViewer 无法实现 – 除非您先转换为 XPS。

还有一些关于在 WPF 中显示 PDF 的其他主题:

  • 在 WPF 应用程序中显示 PDF
  • http://www.codeproject.com/KB/applications/PDFViewerControl.aspx
  • 来自 CodeProject 的 VB.NET 控件似乎不再是文字,或者至少它在最近的 PDF 中存在问题(它不显示具有 True Type (CID) 字体、identity-H 的文本)。无论如何,我最终使用了这个 PDF 查看器。


来源:https://www.codenong.com/3430177/

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_10499.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?