圖片轉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 查看許可證