vb.net 在 Visual Basic 2010 中的控件中显示 PDF
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4470416/
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
Displaying a PDF in a control in Visual Basic 2010
提问by James
I just installed Visual Basic 2010, went through some tutorials on how to display files, but can't find any material on how to select and embed existing PDF files into a form. Any suggestions or pointers in the right direction would be great, thanks!
我刚刚安装了 Visual Basic 2010,浏览了一些关于如何显示文件的教程,但找不到关于如何选择现有 PDF 文件并将其嵌入到表单中的任何材料。任何正确方向的建议或指示都会很棒,谢谢!
回答by Jeroen Ritmeijer
Just embed a browser control in your form and navigate that to the PDF file. That should do the trick.
只需在表单中嵌入浏览器控件并将其导航到 PDF 文件即可。这应该够了吧。
回答by Jules
There aren't too many out of the box controls for that. Anyway, this guide might be helpful:
没有太多开箱即用的控件。无论如何,本指南可能会有所帮助:
回答by Lou Franco
Disclaimer: I work at Atalasoft.
免责声明:我在 Atalasoft 工作。
We make a GUI control that can load a bunch of image formats, and an add-on to turn PDF pages into images. The GUI control (ImageViewer) is part of our free SDK (DotImage Photo) and you can learn about the add-on here: http://www.atalasoft.com/products/dotimage/pdf-reader
我们制作了一个可以加载一堆图像格式的 GUI 控件,以及一个将 PDF 页面转换为图像的插件。GUI 控件 (ImageViewer) 是我们免费 SDK ( DotImage Photo) 的一部分,您可以在此处了解附加组件:http: //www.atalasoft.com/products/dotimage/pdf-reader