图像到PDF 给定位于计算机上的单个图像C:\images\example.png,您可以通过调用IronPdf.ImageToPdfConverter.ImageToPdf方法并传入其文件路径快速将其转换为PDF文档。 您还可以使用System.IO.Directory.EnumerateFiles和ImageToPdfConverter.ImageToPdf将多个图像转换为单个PDF文档。 To explore more about converting images to PDFs using IronPDF for enhancing your applications, or to discover the entire suite of developer tools offered by Iron Software, including IronBarcode, IronOCR, and more, visit the Iron Software website. 学习使用IronPDF将图像转换为PDF 在 GitHub 上查看 代码 https://github.com/iron-software/IronPdf.Examples/tree/main/examples/image-to-pdf 下载 ZIP 相关教程 相关操作指南 类文档 获取语言包 下载IronPDF DLL 报告此页面的问题 准备开始了吗? Nuget 下载 16,154,058 | 版本: 2025.11 刚刚发布 免费 NuGet 下载 总下载量:16,154,058 查看许可证