Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

QuickPDF function to open pdf file.

Question

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.

Answer

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.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum