Print Page | Close Window

How to Determine if a PDF is Fillable/Interactive

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3243
Printed Date: 20 May 25 at 6:23AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: How to Determine if a PDF is Fillable/Interactive
Posted By: tbean
Subject: How to Determine if a PDF is Fillable/Interactive
Date Posted: 08 Jan 16 at 9:28PM
How can I determine if a PDF is Fillable/Interactive?
 
When I call SecurityInfo with the parameter set to 7, Form Field Fill-in or Signing, it returns a 6 for forms whose text cannot be changed and appear in Acrobat Reader without the message "This file includes Fillable Form Fields."  It even returns 6 for image only PDFs.
 
What method in QuickPDF Library can I use to get the property of the PDF is Acrobat Reader using to know whether or not to display the "This file includes Fillable Form Fields."?
 
Thanks,
Tom



Replies:
Posted By: Ingo
Date Posted: 08 Jan 16 at 10:59PM
Hi Tom,

you can use function FormFieldCount.
It returns the total number of formfields in a selected document.
So if the returning value is higher than 0 you know that the document is interactive with fillable formfields.
Please have a look here:
http://www.debenu.com/docs/pdf_library_reference/FormFields.php

Cheers,
Ingo




-------------
Cheers,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk