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!
![]() |
FormField Flags |
Post Reply
|
| Author | |
rweetch
Senior Member
Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
Quote Reply
Topic: FormField FlagsPosted: 25 Aug 16 at 10:17AM |
|
I *think* FormField Flags is what I am looking for.
There has been a change in the way form fields are flattened between version ) and later ones. One of the changes was a fix to issue I raised back in the day (namely that after flattening a field where the text overflowed any resulting rendering would display the overflowed text as well - that was fixed). The other one, where I have the issue, is text alignment. In the older library when a field had the Multi line flag set and there was only one line it flattened in the same way as a field that didn't have the Multi line flags set (i.e vertical centre). In the later libraries this isn't the case and the text aligns slightly lower which is an issue when you have a row of fields. I'm sure that the later way of doing things is correct. Anyway, what I am trying to do is turn off the multi line flag in code and assume that the SetFormFieldFlags is the way to do it, but I can't find any documentation "The new value of the flags. Consult the PDF specification for further details." anyone have a link to the required docs? Thanks |
|
![]() |
|
rweetch
Senior Member
Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 Aug 16 at 10:24AM |
|
Ok, I have just found FormFieldTextFlags so ignore that above.
|
|
![]() |
|
rweetch
Senior Member
Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 Aug 16 at 5:16PM |
|
I have found a similar issue here http://www.quickpdf.org/forum/form-field-flatten_topic2572.html
|
|
![]() |
|
hubbra
Beginner
Joined: 22 Jun 06 Location: Germany Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Aug 16 at 10:22AM |
do you have a link about what those flags are for ? |
|
![]() |
|
rweetch
Senior Member
Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Aug 16 at 10:32AM |
|
You just need to set the method arguments - which makes it easy
http://www.debenu.com/docs/pdf_library_reference/SetFormFieldTextFlags.php
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Aug 16 at 11:36AM |
|
http://www.debenu.com/docs/pdf_library_reference/GetFormFieldTextFlags.php
|
|
|
Cheers,
Ingo |
|
![]() |
|
hubbra
Beginner
Joined: 22 Jun 06 Location: Germany Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Aug 16 at 2:13PM |
|
Thank you very much, that helps.
|
|
![]() |
|
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