468,470 Members | 2,147 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,470 developers. It's quick & easy.

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

Is there any method to covert a pdf file into jpg file in c#?
Many thanks for your replying.
Jul 19 '07 #1
6 5061
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
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
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
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
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
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.

Similar topics

1 post views Thread by Philip Mette | last post: by
3 posts views Thread by Cindy Liu | last post: by
3 posts views Thread by ad | last post: by
6 posts views Thread by Calros Lo | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.