Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Reset PDF form fields programatically |
Post Reply |
Author | |
biju
Beginner Joined: 16 May 16 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 16 May 16 at 9:35AM |
Hi Memebers
Can anyone help with the code for the following, I am using Debenu PDF Activex Library in excel to fill a PDF form. I have the code to do this function. But, I am not able to reset all form fields with default values before the code starts filling the form. Is there a single command that will reset all fields of a PDF form ?. Can you please provide me the code for this ?. Thanks Biju |
|
Guy
Beginner Joined: 25 Jun 16 Location: Australia Status: Offline Points: 2 |
Post Options
Thanks(0)
|
This works for me in delphi...don't know if that helps
procedure TForm1.ResetBtnClick(Sender: TObject); var i,ffc: Integer; begin ffc := pdf.DQPLFormFieldCount; for i := 1 to ffc do begin pdf.DQPLSetNeedAppearances(0); pdf.DQPLSetFormFieldValue(i,''); end; end; Edited by Guy - 25 Jun 16 at 2:49AM |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store