Hi there,
We just purchased the commercial version, and got the latest Spire.PDF version. But when I tried to use the LoadFromBytes method I got the below exception:
[PdfDocumentException: Invalid/Unknown/Unsupported format]
spr១.ᜀ(Int32 A_0) +213
spr១.ᜀ(String A_0, String A_1) +182
sprៗ..ctor(Stream A_0, spr៚ A_1) +706
spr៚..ctor(Stream A_0, PdfDocumentBase A_1) +204
spr┆.ᜁ(Stream A_0) +725
Spire.Pdf.PdfDocument.LoadFromBytes(Byte[] bytes) +56
What I was trying to pass into the method was a byte array which comes directly from database table. The data is stored as image in database, not sure whether that is reason for the exception. I also tried to convert the byte array to a memory stream, and use LoadFromStream method, still no luck.
Please can you advise how I can get this to work.
Thank you