IronPDF精簡版使用說明
IronPdf.Slim是什麼?
IronPdf.Slim 可用來減少初始部署包的大小。這在初始包大小受限的環境中非常有用,例如在 AWS Lambda 中,IronPDF 被安裝到容器中。 此包裹的其他資訊如下:
IronPdf.Slim 僅包含 IronPdf.dll 檔案。 支援所有平台,但不包含 Windows、Linux 或 macOS 的特定相依性。
- 適用於目標平台未知的跨平台解決方案/高度可移植應用程式。
- 需安裝IronSoftware.Native.PdfModel軟體套件。
IronPdf.Native.Chrome 依賴套件(包含適用於特定作業系統(Windows/Linux/MacOS/MacOS ARM)的 Chrome 渲染引擎二進位檔案)將在執行時下載。為確保成功運作:
您必須將Installation.AutomaticallyDownloadNativeBinaries設定為
true。// Enables automatic downloading of native binaries needed for IronPdf.Slim operation IronPdf.Installation.AutomaticallyDownloadNativeBinaries = true;// Enables automatic downloading of native binaries needed for IronPdf.Slim operation IronPdf.Installation.AutomaticallyDownloadNativeBinaries = true;$vbLabelText $csharpLabel- 請確保您的專案已連接到互聯網,以便透過 NuGet 來源提供二進位檔案。
- 請確保您擁有必要的讀取、寫入和執行權限,以便將二進位檔案放置在專案資料夾中。
如果您在使用 IronPdf.Slim 的專案中仍然遇到問題,請隨時聯絡支援人員。






