tags:

views:

267

answers:

1

Sorry if there exists similar post like mine but I'm new on this forum and I haven't find it.

I have problem with dynamically resize TextField size depends on text size. I fill existing PDF - fill fields in AcroForm:

form.setField("field", "value"); (etc.)

Everything it's OK, but I also want to set text (in TextField) which size is greater than field size. How can I dynamically resize TextField (after/before setField or maybe set some field property in AcroForm creation process) to fit text (text larger than TextField)? This TextField must have size exactly like text size, without changing font size to smaller size and without scrolls in this TextField.

Thanks in advance for helping.