Azure Blob 存儲

This article was translated from English: Does it need improvement?
Translated
View the article in English

PDF 可以從文件、流和二進制數組中載入和保存。 所有這些都可以與 Blob Storage 配合使用。

實用連結

從記憶體加載PDF

新的 IronPdf.PdfDocument 實例可以對其中的任何記憶體對象進行初始化。

  • 記憶體流
  • 檔案流
  • 二進位資料作為位元組陣列(位元組[])

    這從記憶體中載入一個PDF。

將PDF保存到記憶體中

IronPdf.PdfDocument 可以通過兩種方式之一直接保存到內存中:

  • IronPdf.PdfDocument.Stream 將 PDF 導出為 System.IO.MemoryStream
  • IronPdf.PdfDocument.BinaryData 將 PDF 匯出為位元組陣列。(位元組[])

進一步閱讀

https://docs.microsoft.com/zh-tw/azure/storage/blobs/