.NET打开的PDF中的winform没有外部的依赖 [英] .NET open PDF in winform without external dependencies

查看:276
本文介绍了.NET打开的PDF中的winform没有外部的依赖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有免费的图书馆,这将让我打开一个PDF格式,并显示在一个WinForm项目。我知道我可以在Adobe Reader或东西打开它,但它似乎总是那么臃肿给我,我会依赖它正在安装。是否有一个很好的轻量级替代在那里我可以只包括在我的项目一个DLL或类似避免外部依赖性。

Is there a FREE library which will allow me to open a pdf and show it on a winform project. I know I could open it in adobe reader or something but it always seems so bloated to me and I would be relying on it being installed. Is there a nice lightweight alternative where I could just include a dll in my project or similar avoiding external dependencies.

我并不需要太多的功能,只需查看,更改页面缩放。

I don't need much functionality just view, change page zoom..

我已经看到了一些图书馆,但他们似乎是有关创建PDF不是观看。

I have seen a few libraries but they seem to be about creating PDF's not viewing.

推荐答案

与Acrobat Reader软件应该安装的ActiveX控件,可以通过设计师把它或使用类似的这个

The ActiveX control installed with acrobat reader should work, either drop it in via the designer or use something like this.

这需要读者的安装在客户端上的相关版本,但因为你表明你可以只启动反正这不应该是一个问题。读

This will require the relevant version of the reader is installed on the client but since you indicate that you could just launch that anyway this should not be a problem. reader

这篇关于.NET打开的PDF中的winform没有外部的依赖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆