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

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


© 2011 Debenu. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum