Why is PDFNet generating a white/blank image?

Q:
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.
----

A:

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

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

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
http://www.pdftron.com/net/faq.html#missing_resources.