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!
Inserted text is not displayed in Adobe |
Post Reply |
Author | |
Skandinavier
Beginner Joined: 27 Nov 20 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 27 Nov 20 at 6:20PM |
This are my first steps with the QuickPDF Library. I use the SetFormFieldValueByTitle() function in VB6 to insert text in text fields (Fieldtype 1). The inserted text is not displayed in Adobe Reader. I just load the pdf-document with LoadFromFile(fileName, ""), fill in the fields with SetFormFieldValueByTitle() and save a new file with SaveToFile. Opera Internet Browser shows the inserted text, why Adobe not? Thanks in advance for a hint.
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Skandinavier ;-)
here you'll find a complete sample from Kevin (R.I.P): http://www.quickpdf.org/forum/form-fields-not-displayed-in-quickpdf_topic2469.html UpdateAppearanceStream will be your key i think ;-) Here's a good starting point for search deeper: https://www.debenu.com/docs/pdf_library_reference/Search.php Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
Skandinavier
Beginner Joined: 27 Nov 20 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Hi Ingo, Thank you for your answer. I tried the function - with no success. But that's not my biggest problem. The PDF form that I populate with text also has two signature fields (Fieldtype 6). It looks like all properties of a signature in the signature fields have been lost in the new file (saved with SaveToFile). Is there a possibility to save the signature fields unchanged? Greetings
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Please read 3.2.12 in the developer guide "Processing digitally signed PDF files".
Perhaps this will help. Regarding your issue: "It doesn't work" isn't a really detailed answer ;-) Where's the sample pdf? You can upload it anywhere on a free file hoster or on your website and post the link in the forum... Where's the relevant code snippet from your development? Edited by Ingo - 30 Nov 20 at 8:08PM |
|
Cheers,
Ingo |
|
Skandinavier
Beginner Joined: 27 Nov 20 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Hi Ingo, Thank you for your efforts. I have uploaded the files: https://github.com/MailiEder/App-development The original template: Arbeitsauftrag-GmbH.pdf The generated file: Arbeitsauftrag_Test_1.pdf Code: Vb6code.txt Adobe Acrobat Reader DC The inserted text is not displayed. A signature can be entered in the signature fields. Perfect PDF 9 (Soft Xpansion) The inserted text is displayed. But a signature cannot be entered in the signature fields. If you try to enter the signature, this message comes up: This form field (signature) still has to be filled out. All i want is:The inserted text should always be displayed and the signature fields should remain untouched. The document should - in practice - be read and signed on a tablet. |
|
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