Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

iTextSharp and Flow Layout

Avatar

Former Community Member
I am filling out a form using iTextSharp . I have a flow layout subform with a multiline textbox on the form, expand to fit set to true. Still, when I insert text into the textbox programmatically, it does not expand. If I fill out the pdf form interactively, it works fine.



Any help would be appreciated.



Thanks
6 Replies

Avatar

Former Community Member
Can you post your form to livecycle8@gamil.com and I will have a look

Avatar

Former Community Member
I tried to send the form to livecycle8@gamil.com , but our email server rejects it whatever reason. Do you have another email address I could use ?



Thanks

Avatar

Level 6
Gabor,



What code are you using to fill the obejct using itext?

Avatar

Former Community Member
I use the Acrofields.SetField method ,like this:



AcroFields pdfFormFields = pdfStamper.AcroFields;

foreach (PrintableFormDataField dataField in _DataFields)

{

pdfFormFields.SetField(dataField.DataLabel, dataField.DataValue);

}

Avatar

Former Community Member
I do not have another address .....it is livecycle8@gmail.com ...is it simply a typo?

Avatar

Former Community Member
Has anyone found a solution to this issue? I'm having the same problem and have tried for months trying to find a solution. Thanks ... Jaime