G Guest Jul 19, 2007 #1 Is there any method to covert a pdf file into jpg file in c#? Many thanks for your replying.
S S Moran Jul 19, 2007 #2 you would likely have to access the "save as jpg" method of the acrobat object.
M Merk Jul 20, 2007 #4 What are you talking about... "acrobat object"??? What is "the acrobat object" ???
G Guest Jul 20, 2007 #5 I mean, Can I write a c# code to do covert job. I beleive there is a lot of software to do that. http://www.google.com/search?hl=en&q=pdf+to+jpg&btnG=Google+Search I am trying to find a solution to do the convert job in c# code.
I mean, Can I write a c# code to do covert job. I beleive there is a lot of software to do that. http://www.google.com/search?hl=en&q=pdf+to+jpg&btnG=Google+Search I am trying to find a solution to do the convert job in c# code.
G Guest Jul 24, 2007 #6 In VS 2005, go to Project | Add Reference..., click on the COM tab, and add the Adobe Acrobat 8.0 Type Library to your project. You can try something like this... Acrobat.AcroPDDoc acrobatPDF = new AcroPDDoc(); acrobatPDF.Open("C:\\temp\\somedoc.pdf"); acrobatPDF.Save(nType, "C:\\temp\\somedoc.jpg"); [Sorry. Can't for the life of me remember what nType should be for JPG, or even if it's supported] And no, if you get a bunch of Interop COM Exceptions I can't help you. That's far too much of a can of worms for me to go near. The best place to look for help regarding working with the Acrobat API is the forums at WWW.PDFPlanet.com.
In VS 2005, go to Project | Add Reference..., click on the COM tab, and add the Adobe Acrobat 8.0 Type Library to your project. You can try something like this... Acrobat.AcroPDDoc acrobatPDF = new AcroPDDoc(); acrobatPDF.Open("C:\\temp\\somedoc.pdf"); acrobatPDF.Save(nType, "C:\\temp\\somedoc.jpg"); [Sorry. Can't for the life of me remember what nType should be for JPG, or even if it's supported] And no, if you get a bunch of Interop COM Exceptions I can't help you. That's far too much of a can of worms for me to go near. The best place to look for help regarding working with the Acrobat API is the forums at WWW.PDFPlanet.com.