Azure Blob Storage
PDFs can be loaded from and saved to files, streams, and binary arrays, all of which can work with Blob Storage.
Useful links
- Loading and Saving PDFs from Memory (MemoryStream) in .NET
- Serve PDF Files as Byte Arrays in C# and VB
Loading a PDF from Memory
A new instance of IronPdf.PdfDocument can be initialized from any of these in-memory objects:
- A
MemoryStream - A
FileStream - Binary data as a byte array (
byte[])
This approach allows loading a PDF from memory efficiently.
Saving a PDF to Memory
An IronPdf.PdfDocument can be saved directly to memory in one of two ways:
IronPdf.PdfDocument.Streamexports the PDF as aSystem.IO.MemoryStream.IronPdf.PdfDocument.BinaryDataexports the PDF as a byte array (byte[]).
This makes it easy to work with PDFs in environments where disk access may be restricted or when you need to pass data between systems in memory.
Further reading

Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.