.net PDF 查看器控件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5196989/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
.net PDF Viewer control
提问by Jose
We are looking for a PDF Viewer control for WPF or WinForms application.
我们正在为 WPF 或 WinForms 应用程序寻找 PDF 查看器控件。
We have hit some road blocks with our current implementation which basically uses WindowsFormsHost to embed the Adobe Reader activeX control inside a WPF UserControl.
我们当前的实现遇到了一些障碍,它基本上使用 WindowsFormsHost 将 Adobe Reader activeX 控件嵌入到 WPF UserControl 中。
Using the above implementation we cannot do the following:
使用上面的实现我们不能做以下事情:
- Consistently show rotate buttons
- Save the file (We can save a copy, but not re-save) so we can keep the rotation that the user just performed.
- 始终显示旋转按钮
- 保存文件(我们可以保存副本,但不能重新保存),以便我们可以保留用户刚刚执行的旋转。
I've scoured the internet for a .net control that has no external dependencies and found this component created by wpcubedand I've played with it and it seems to meet our needs. My question is are there some other alternatives?
我在互联网上搜索了一个没有外部依赖项的 .net 控件,并找到了这个由 wpcubed 创建的组件,我已经玩过了它,它似乎满足了我们的需求。我的问题是还有其他选择吗?
If there are some LGPL-like licensed open source, we could consider it, but most likely we want to go with a 3rd party component preferably with a royalty-free distribution. But I'm just looking for some options that I haven't found yet.
如果有一些类似 LGPL 的许可开源,我们可以考虑,但很可能我们希望使用 3rd 方组件,最好是免版税的发行版。但我只是在寻找一些我还没有找到的选项。
回答by Paul
Hereis a great article detailing some contenders.
这是一篇很棒的文章,详细介绍了一些竞争者。
- Gnostice (www.gnostice.com)
- Atalasoft (www.atalasoft.com)
- DynamicPDF (www.dynamicpdf.com)
- Aspose (www.aspose.com)
- ActivePDF (www.activepdf.com)
- Deaja (www.daeja.com)
- Snowbound Software (snowbound.com)
- Bluebeam Q (www.bluebeam.com)
- PDFTron (www.pdftron.com)
- GDPicture (www.gdpicture.com)
- SyncFusion (www.syncfusion.com)
- O2 Solutions (www.o2sol.com)
- 诺斯提斯 (www.gnostice.com)
- Atalasoft (www.atalasoft.com)
- DynamicPDF (www.dynamicpdf.com)
- Aspose (www.aspose.com)
- ActivePDF (www.activepdf.com)
- Deaja (www.daeja.com)
- Snowbound 软件 (snowbound.com)
- Bluebeam Q (www.bluebeam.com)
- PDFTron (www.pdftron.com)
- GDPicture (www.gdpicture.com)
- SyncFusion (www.syncfusion.com)
- O2 解决方案 (www.o2sol.com)
回答by iPDFdev
PDFView4NETlets you display PDF files in WinForms and WPF applications. It includes support for rotating pages and saving the PDF file. PDFView4NETcomes with royalty free distribution.
PDFView4NET允许您在 WinForms 和 WPF 应用程序中显示 PDF 文件。它包括对旋转页面和保存 PDF 文件的支持。PDFView4NET附带免版税发行版。
Disclaimer: I work for the company that develops PDFView4NET.
免责声明:我为开发 PDFView4NET 的公司工作。
回答by Aim Kai
Some other components
其他一些组件
Component One http://www.componentsource.com/news/2010/11/18/componentone-studio-wpf.html) http://www.componentsource.com/products/expertpdf-pdf-viewer/summary.html
组件一 http://www.componentsource.com/news/2010/11/18/componentone-studio-wpf.html) http://www.componentsource.com/products/expertpdf-pdf-viewer/summary.html
DevXpress http://www.devexpress.com/Products/NET/Controls/WPF/Printing/
DevXpress http://www.devexpress.com/Products/NET/Controls/WPF/Printing/
Try the answer to this question (it has an interesting blog link - which I have added below) Please suggest a PDF viewer for WPF
试试这个问题的答案(它有一个有趣的博客链接 - 我在下面添加了) 请为 WPF 推荐一个 PDF 查看器
Article may be of use http://hugeonion.com/2009/04/06/displaying-a-pdf-file-within-a-wpf-application/
文章可能有用 http://hugeonion.com/2009/04/06/displaying-a-pdf-file-within-a-wpf-application/

