Q: I'm interested in your PDF2Image product (
http://www.pdftron.com/
pdf2image). I have downloaded the trail version and am trying to
build the sample application. I am using Visual Studio 2008, VB code.
Here's the error I'm getting:
Unhandled Exception: System.BadImageFormatException: An attempt was
made to load
a program with an incorrect format.
-------
A: Based on the error it seems that you are using PDF2Image on a 64-
bit system. In this case you would need to change your project
solution to 32-bit compatibility.
Alternatively you could use our PDFNet SDK (
http://www.pdftron.com/
pdfnet) which is a true .NET component, is available in both 32 & 64
bit configurations, and includes all of the functionality available in
PDF2Image plus much more. As a starting point for your project, you
may want to take a look at PDFDraw sample project (included as part of
PDFNet SDK
distribution):
http://www.pdftron.com/pdfnet/samplecode.html#PDFDraw