Azure Blob 存儲
This article was translated from English: Does it need improvement?
TranslatedView the article in English
PDF 可以從文件、流和二進制數組中載入和保存。 所有這些都可以與 Blob Storage 配合使用。
實用連結
- 從記憶體中加載和保存PDFs(記憶體流)在 .NET 中 -https://ironpdf.com/how-to/pdf-memory-stream/
- 在 C# 和 VB 中以位元組陣列形式提供 PDF 檔案 - https://ironpdf.com/how-to/asp-net-mvc-pdf-binary/
從記憶體加載PDF
新的 IronPdf.PdfDocument 實例可以對其中的任何記憶體對象進行初始化。
- 記憶體流
- 檔案流
二進位資料作為位元組陣列(位元組[])
這從記憶體中載入一個PDF。
將PDF保存到記憶體中
IronPdf.PdfDocument 可以通過兩種方式之一直接保存到內存中:
- IronPdf.PdfDocument.Stream 將 PDF 導出為 System.IO.MemoryStream
- IronPdf.PdfDocument.BinaryData 將 PDF 匯出為位元組陣列。(位元組[])