My boss assigned me a task that to get the ImagePreview of 1st page of PDF.
My thought is to print the 1st page of PDF to file(virtual print to file), and get the image source, but there comes the problem:
How can print a pdf without user interaction(With C#),question are these:
1. I can use the ShellExcute but cannot assign the destination of output file.
2. User interface is unwanted, I don't want show anyone the Acrobat Reader interface who click the file just want to get a preview.
3. No place to put those parameters in.
This problem confused me a lot of days, I wish someone can give some hints.
Thank you very much!
(Maybe you will tell me to use Acrobat SDK, please don't, I'm afraid we cannot afford that)
My thought is to print the 1st page of PDF to file(virtual print to file), and get the image source, but there comes the problem:
How can print a pdf without user interaction(With C#),question are these:
1. I can use the ShellExcute but cannot assign the destination of output file.
2. User interface is unwanted, I don't want show anyone the Acrobat Reader interface who click the file just want to get a preview.
3. No place to put those parameters in.
This problem confused me a lot of days, I wish someone can give some hints.
Thank you very much!
(Maybe you will tell me to use Acrobat SDK, please don't, I'm afraid we cannot afford that)