Frequently Asked Question:
QuickPDF function to open pdf file.
I have saved pdf file using QP.SaveToFile on the local machine. I want to open it programmatically. I have looked through the Function Reference of QuickPDF, but haven't found anything that might allow me to view the file I just saved in Adobe Reader.
There is no function on Quick PDF Library to open the file in Adobe Reader. In something like C# you can just call:
System.Diagnostics.Process.Start("myfile.pdf");
In Delphi and other libraries you could call the Win32 functions such as
ShellExecute(0, 'open', PWideChar(MyFilePath), '', '', SW_SHOWNORMAL);
There is no inbuilt viewer inside the Quick PDF Library. It is possible to render each page of the PDF to a graphics file though which allows you to build a quick and dirty PDF viewer.