C# .net pdf Pdfium 使用说明备注

使用说明:Pdfium.dll是C语言开发的,而PdfiumViewer.dll是.net开发的,针对Pdfium.dll的封装适配,方便在.net中使用。因此在引用PdfiumViewer.dll的同时,要把pdfium.dll放在程序目录下面。

另外:Patagames.Pdf.Net Pdfium.Net SDK 是可以试用,但有时间限制的,一旦试用时间到期就不能用了,不要用。

PdfiumViewer.dll pdfium.dll

Pdfium 库

Pdfium 本身是一个 C 语言库,编译之后是一个 DLL。

Google 下载

https://pdfium.googlesource.com/pdfium/

GitHub

https://github.com/chromium/pdfium

下载 Pdfium 二进制预编译库

可以直接使用预编译的库,既可以直接从 NuGet 中导入,也可以自己下载使用。

PDF viewer based on Google's PDFium.

https://github.com/pvginkel/PdfiumViewer

PdfiumViewer

由于 Pdfium 本身并不是 .NET 库,在 .NET 中使用时,需要进行适配,PdfiumViewer 对它进行了适配工作,可以使我们很方便地在 .NET 项目中使用它。

Introduction

PdfiumViewer is a PDF viewer based on the PDFium project.

PdfiumViewer provides a number of components to work with PDF files:

PdfDocument is the base class used to render PDF documents;

PdfRenderer is a WinForms control that can render a PdfDocument;

PdfiumViewer 提供了一个 WinForms 控件,通过 PdfRenderer 控件进行渲染,提供了工具栏,可以支持保存到 PDF 文件或者打印到打印机。

PdfiumViewer is a WinForms control that hosts a PdfRenderer control and adds a toolbar to save the PDF file or print it.

项目:https://github.com/pvginkel/PdfiumViewer

NuGet: https://www.nuget.org/packages/PdfiumViewer/

批量修改文件名 2024年最新版 完全免费
批量修改文件名称、文件夹名称

方便快捷,支持正则表达式、无需安装功能齐全、支持定制无广告、无插件,放心使用。

免费下载 百度网盘
本站中所有的计算器的计算结果仅供参考,本站对此结果的准确性不承担任何责任,实际数额以银行/保险公司/国家相关机构确认的结果为准。
在线客服QQ:543690914,备案号: 苏ICP备15037649号-33。东海县白塔埠镇佳诚电脑经营部版权所有。