Hi,
Forgive my ignorance but which control should i used to view my existing PDF files and allow user to print it from there?
Thanksmiztaken
Hello miztaken,
Could you please clarify your requirements with more details if possible? From what I read here I understand that you want a sample where the end user could see the existing PDF files in a folder on the disk and be able to print each one of them, is that right?
Please do not hesitate to contact me if you need any additional assistance.
Yes. I want to let my user view pdf files thats on disk and let them print if they want as well. Is it possible now? Because according to this thread, it says infragistics controls can only export PDF not view it.
thanks
i have tried many pdf viewer vb.net,including adobe. i end up uisng this app to view pdf files. it is simple and rather efficient for me . hope it is what you are looking for.
Hello,
Thank you for your feedback and for sharing this with us. We believe that the other community members could benefit from such threads.
Please feel free to let me know if a question about our toolset comes up on your mind.
Thanks for the reply. I ended up using Adobe Reader ActiveX Control.All you need to do is reference this in your project and then drag and drop the control.
Then you can load the pdf using following code:-
this.activexpdfreader.LoadFile(dfpFilePath); this. activexpdfreader.show();
where activexpdfreader is an instance of adobe activex control (dragged and dropped)
In windows apps, I've just used the System.Windows.Forms.WebBrowser control to view PDF's. You can load one up using the Navigate method which takes the filename of the pdf as a parameter.
Matt