C Export PDFs and Save to MemoryStream
Description by the Publisher
Iron PDF allows you to open an existing PDF and export the content from that including the text content and the images. You can also edit it inserting new pages which you can take from a media you've created or from an existing PDF and insert them. You can also render new content with intro PDF on top or behind the existing content. For example, watermarks, background, page numbers, headings or footers.
You can save any IronPDF.PDF document object to a memory stream by using the PDF document.stream property. You may also be interested in the binary data property of the PDF document which exports the data as a byte array.
By adding a user and author password to the metadata of your PDF, you may encrypt it using 218 bit or higher encryption protecting the PDF document. You may also protect the PDF document from copy and paste if you choose.
You can use IronPDF to export PDFs in C# using any type of .Net project whether it is Windows Forms, console, MVC, an Azure function, whatever you like. Class Library projects are fully supported by IronPDF for C# PDF export functionality.
Limitations in the Downloadable Version
Fully operational for development and testing purposes. Deployment requires a commercial license.
Unique Product ID: PID-6200BF58A807
Unique Publisher ID: BID-42004AE61807