Spire.PDF Download binary PDF data to PdfDocument

I am working in C # with Spire.PDF . In particular, my goal is to load the binary PDF data from the database into the Spire.Pdf.PdfDocument object.

According to this documentation, I should use the LoadFromStream() method or some unspecified method that accepts an array of bytes (see the link at the bottom of the page for a link, but only for general documentation). However, this method seems missing in the current NuGet package.

So, in general, how can I create a Spire.Pdf.PdfDocument object using an array of data bytes? Thanks in advance.

Comment if you know the best .NET library for converting PDF files to and from images.

+5
source share

Source: https://habr.com/ru/post/1232740/


All Articles