How can I convert PDF pages into an Image Array?

Q:

I am currently looking for a library that I can use with a C#
application that will allow me to take a pdf document and basically
loop through the pages in the PDF and snapshot each page and save them
into an Image Array. I am curious if your pdftron library has that
capability.
-----

A:

You can use PDFNet SDK (www.pdftron.com/net) to convert PDF pages to
TIF, JPEG, PNG, or to System.Drawing.Bitmap. As a starting point for
your project you may want to take a look at PDFDraw sample project:

Converting a PDF page to JEPG is as simple as the following C#
snippet:

PDFNet.Initialize();

// for info on SetResourcesPath www.pdftron.com/net/faq.html#pdfnet_res
PDFNet.SetResourcesPath(...);

PDFDoc doc = new PDFDoc("my.pdf");
doc.InitSecurityHandler();

PDFDraw draw = new PDFDraw(92);
draw.Export(doc.PageBegin().Current(), "my.png"); // or perhaps
draw.GetBitmap()

draw.Dispose();
doc.Close()