Do you own a Quick PDF Library 7 or iSEDQuickPDF license? Upgrade to Quick PDF Library 8 today!

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.


© 2011 Debenu. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum