如何在C#winform中显示.pdf文件? [英] How to display .pdf file in C# winform?

查看:1043
本文介绍了如何在C#winform中显示.pdf文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用c#在Windows窗体下显示.pdf文件。我尝试在webbrowser控件中显示.pdf文件,但是使用默认的pdf软件将文件打开。所以,请提供适当的方法或建议或任何类型的第三方库(免费许可)。



我尝试过:



我试图在webbrowser控件中打开pdf文件。但文件打开了应用程序或表单。

解决方案

试试这个: GitHub - pvginkel / PdfiumViewer:基于Google的PDFium的PDF查看器。 [ ^ ]

How to display .pdf file under windows form using c#. I try to display .pdf file in webbrowser control but file open out side the form with default pdf software. So, kindly give proper method or suggetion or any kind of third party library (Free licencing).

What I have tried:

I tried to open pdf file in webbrowser control. But file open out side the application or form.

解决方案

Try this : GitHub - pvginkel/PdfiumViewer: PDF viewer based on Google's PDFium.[^]


这篇关于如何在C#winform中显示.pdf文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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