【问题标题】:How to show a pdf file in picturebox?如何在图片框中显示pdf文件?
【发布时间】:2013-10-17 21:53:09
【问题描述】:

我想在图片框中显示一个 pdf 页面。有可能这样做吗?如果没有,还有其他方法可以在 Visual Studio 的 Windows 窗体中显示 pdf 页面吗? 谢谢

【问题讨论】:

  • pdf 仅在其兼容的查看器中可见。在picturebox中你可以设置它的图标,点击就可以打开它
  • @AmitRanjan 这不是他想要做的。

标签: c# winforms pdf picturebox pdf-viewer


【解决方案1】:

【讨论】:

  • 我真的不知道!!! (重复感叹号表示互惠)我的第一步是搜索它——就像你应该做的那样。
【解决方案2】:

您可以使用 Ghostscript.NET(用于 .NET 的 Ghostscript 库包装器)来做到这一点。

看看这个博客:How to use Ghostscript.NET library to render PDF's directly to the screen

您可以从这里下载 Ghostscript.NET:https://ghostscriptnet.codeplex.com/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-07-31
    • 1970-01-01
    • 2020-08-12
    • 2013-08-03
    • 1970-01-01
    • 1970-01-01
    • 2022-11-16
    • 2014-09-06
    相关资源
    最近更新 更多