These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

resize column width and height while viewing

smilem
Registered: Apr 1 2008
Posts: 101

Hi, I have this idea to create mail label form. Is it possible to have a few buttons that would resize the columns and rows while user enters data into PDF?

I need this because every label template is different (has different size labels).

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
This is a standard feature of Dynamic LiveCycle forms. Use the "Expand to fit" checkbox on the "Layout" tab. If you want to control the size directly, then you can use JavaScript to change the width and height of the of the text box.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script