By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,531 Members | 2,219 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,531 IT Pros & Developers. It's quick & easy.

Is there any method to covert a pdf file into jpg file in c#?

P: n/a
Is there any method to covert a pdf file into jpg file in c#?
Many thanks for your replying.
Jul 19 '07 #1
Share this Question
Share on Google+
6 Replies


P: n/a
you would likely have to access the "save as jpg" method of the acrobat
object.

"vincent" <vi*****@discussions.microsoft.comwrote in message
news:60**********************************@microsof t.com...
Is there any method to covert a pdf file into jpg file in c#?
Many thanks for your replying.
Jul 19 '07 #2

P: n/a
Is it possible to write a c# code to do that?
Many thanks for replying.

"S Moran" wrote:
you would likely have to access the "save as jpg" method of the acrobat
object.

"vincent" <vi*****@discussions.microsoft.comwrote in message
news:60**********************************@microsof t.com...
Is there any method to covert a pdf file into jpg file in c#?
Many thanks for your replying.

Jul 20 '07 #3

P: n/a
What are you talking about... "acrobat object"???

What is "the acrobat object"

???


"S Moran" <s@moran.comwrote in message
news:O6**************@TK2MSFTNGP04.phx.gbl...
you would likely have to access the "save as jpg" method of the acrobat
object.

"vincent" <vi*****@discussions.microsoft.comwrote in message
news:60**********************************@microsof t.com...
>Is there any method to covert a pdf file into jpg file in c#?
Many thanks for your replying.

Jul 20 '07 #4

P: n/a
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...=Google+Search

I am trying to find a solution to do the convert job in c# code.

"Merk" wrote:
What are you talking about... "acrobat object"???

What is "the acrobat object"

???


"S Moran" <s@moran.comwrote in message
news:O6**************@TK2MSFTNGP04.phx.gbl...
you would likely have to access the "save as jpg" method of the acrobat
object.

"vincent" <vi*****@discussions.microsoft.comwrote in message
news:60**********************************@microsof t.com...
Is there any method to covert a pdf file into jpg file in c#?
Many thanks for your replying.


Jul 20 '07 #5

P: n/a
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.

Jul 24 '07 #6

P: n/a
Wow! It is so cool and very helpful.
Thank you for your replying.

"Andrew Hayes" wrote:
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.
Jul 24 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.