Why is PDFNet generating a white/blank image?

when we are generating images of any format(tiff, bmp, jpg) we get a
white image with no content in it. Please let me know what could be
the reason for this.


There are couple of reasons why you may be getting blank/white

a) You didn't initialize the security handler after opening the
document. For example
PDFDoc doc = new PDFDoc("...my.pdf");

If the document requires 'open' password you also need to supply the
password. For example doc.InitStdSecurityHandler("mypass");

b) The path used in PDFNet.SetResourcePath() is not valid or
'pdfnet.res' is not present in the given folder. For more information,
please see http://www.pdftron.com/net/faq.html#pdfnet_res and