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

I have to open a file, make changes and save it as new or same file?

Question

I opened the file, used DrawText() to make changes, and then used DAAppendFile() to save the changes, but nothing happened. the FileHandle parameter is correct. Am I doing something wrong?

Answer

The standard way of adding test to a file is

QP.OpenFile("myfile.pdf"); QP.DrawText(10,10, "Hello World"); QP.SaveToFile("newfile.pdf");

The functions starting with 'DA' are Direct Access functions and can only be used with other 'DA' functions. They cannot be mixed with other no DA functions when processing a PDF file.

The Quick PDF Library Developer Guide has a good overview of how to use the Quick PDF Library and makes learning the library much easier. The Developer Guide has been released with the 7.25 and later versions of the library and can be found in your installation directory.

Quick PDF Library 7 Developer Guide.pdf


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