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

ExtractFilePages function creates a blank pdf

Question

I am using the ExtractFilePages function to split multi page pdfs up, and sometimes when I run it on a pdf with only 1 page I get a blank pdf for the output. Does anyone know why this happens?

Answer

Without being able to replicate the problem on my end using your code and document, it's a bit hard to replicate -- it's not something I've encountered before.

I ran a small test on my end, trying to extract one page from a one page document, and I got the correct result.

QP.ExtractFilePages("QLPBooks.pdf", "QLPBooks_extracted.pdf", "1");

Which suggests to me that the problem you're encountering is specific to certain files. If you would like to send us any documents that you have which demonstrate this problem, we'll be happy to investigate this issue on our end.


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