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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - FormField Flags
  FAQ FAQ  Forum Search   Register Register  Login Login

FormField Flags

 Post Reply Post Reply
Author
Message
rweetch View Drop Down
Senior Member
Senior Member


Joined: 22 Feb 11
Status: Offline
Points: 173
Post Options Post Options   Thanks (0) Thanks(0)   Quote rweetch Quote  Post ReplyReply Direct Link To This Post Topic: FormField Flags
    Posted: 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
 
Back to Top
rweetch View Drop Down
Senior Member
Senior Member


Joined: 22 Feb 11
Status: Offline
Points: 173
Post Options Post Options   Thanks (0) Thanks(0)   Quote rweetch Quote  Post ReplyReply Direct Link To This Post Posted: 25 Aug 16 at 10:24AM
Ok, I have just found FormFieldTextFlags so ignore that above.
Back to Top
rweetch View Drop Down
Senior Member
Senior Member


Joined: 22 Feb 11
Status: Offline
Points: 173
Post Options Post Options   Thanks (0) Thanks(0)   Quote rweetch Quote  Post ReplyReply Direct Link To This Post Posted: 25 Aug 16 at 5:16PM
I have found a similar issue here http://www.quickpdf.org/forum/form-field-flatten_topic2572.html
Back to Top
hubbra View Drop Down
Beginner
Beginner


Joined: 22 Jun 06
Location: Germany
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote hubbra Quote  Post ReplyReply Direct Link To This Post Posted: 26 Aug 16 at 10:22AM
Originally posted by rweetch rweetch wrote:

Ok, I have just found FormFieldTextFlags so ignore that above.


do you have a link about what those flags are for ?
Back to Top
rweetch View Drop Down
Senior Member
Senior Member


Joined: 22 Feb 11
Status: Offline
Points: 173
Post Options Post Options   Thanks (0) Thanks(0)   Quote rweetch Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 26 Aug 16 at 11:36AM
http://www.debenu.com/docs/pdf_library_reference/GetFormFieldTextFlags.php

Cheers,
Ingo

Back to Top
hubbra View Drop Down
Beginner
Beginner


Joined: 22 Jun 06
Location: Germany
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote hubbra Quote  Post ReplyReply Direct Link To This Post Posted: 26 Aug 16 at 2:13PM
Thank you very much, that helps.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store