Print Page | Close Window

Save pdf with form field contents

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: Sample Code
Forum Description: Share Debenu Quick PDF Library sample code with other forum members
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1360
Printed Date: 22 Nov 24 at 7:01PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Save pdf with form field contents
Posted By: Phil
Subject: Save pdf with form field contents
Date Posted: 05 Mar 10 at 8:25AM
Hello,
 
I want to open an existing pdf file, fill out some form fields, and save to file with field contents to a different file name.
 
My code looks like this (simplified, VBA):
  objPDF.LoadFromFile "C:\Test.pdf"
  objPDF.SetFormFieldValueByTitle "Lastname", "John Doe"
  objPDF.SaveToFile "C:\Test2.pdf"
 
The file will be saved, but without form field contents. What lines of code do I have to insert?
 
Kind regards
Phil (Germany)



Replies:
Posted By: Phil
Date Posted: 05 Mar 10 at 8:47AM
Sorry, wrong forum. I write a new post in the correct one.



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