2
Answers

Print PDF as Image Programmatically in c#

Ask a question
sanjay kumar

sanjay kumar

13y
5.1k
1
I am sanjay kumar. Printing pdf as image in c sharp which is still unsolved. It will be very thankfull if you help me with this.

Process of doing same thing in Acrobat Professional are given below:

 - Ctrl + P <Display print dialog box>
 - Change Printer Name to "Adobe PDF"
 - Click on Advance and select "Print As Image"
 - Setting are completed, now click on OK.
 - Processing will start and in between it will show a "Save As" dialog.
 - After that PDF with be saved on specified location.

I wants to do same thing using c sharp. I have added Acrobat.dll in Reference and searching each and every function in Object Explorer. I found few function which can print PDF in using default printer but in my case print name should be "Adobe PDF".

I though i can change default printer using ManagementObject Class but how will i select "Print As Image" programmatically.

Pls help me in this as soon as possible.

Answers (2)
Next Recommended Forum