Hi, all. We have an application where we need to merge a paragraph of text into a text box form field. We need this to be justified.
Acrobat allows us to easily create the PDF form fields, but we can only select left, center, or right justification.
It seems that the Forms.FormField class does not allow us to change the alignment.
A possible solution to this is to add a new TextArea to the Page, since it supports the alignment we need. So I would do the following:
1. Get the coordinates of the existing Forms.FormField
2. Set the FormField value to blank.
3. Create a new PageElements.TextArea at the same location.
4. Set the text value of the TextArea.
5. Add the TextArea to the Page.Elements
This all seems to make sense, except for the font, fontsize, and color. How can I get the font, fontsize,and color of the original FormField to apply them to the new TextArea?
Thanks for any assistance!
Regards,
Pete
FormField alignment = justify
Re: FormField alignment = justify
Support · Feb 15, 2010Hello Pete,
It is not possible to get the font, font size, text color etc information from an existing from field using our v5 product.
We have added these features to our latest version v6. Currently it is in Beta and you can download the v6 Beta from our website
.
Thanks,
ceTe Software Support Team.