Why are pages plank after opening PDF from memory buffer?


When I create a new PDFDoc from a byte array it has all the pages but
they are blank.

If the document is encrypted, you need to call InitSecurityHandler()
after creating the document. It is also fine to call
InitSecurityHandler even if the document is not encrypted.

byte[] file_buff = ...
PDFDoc doc = new PDFDoc(file_buff, file_buff.Length);
doc.InitSecurityHandler(); // <- Important if the document is

You may want to take a look at PDFDocMemoryTest (http://
www.pdftron.com/net/samplecode.html#PDFDocMemory) for an example of
how to read PDF from memory.