Bordeman, Chris wrote:
> I have the AcroFields object, can't figure out how to change the
> horizontal alignment for all fields w/ a certain name...  Thanks!

Alignment in AcroForm fields is called Quadding, defined as:

A code specifying the form of quadding (justification) to be used
in displaying the annotation’s text:
0 Left-justified
1 Centered
2 Right-justified

If you have a field dictionary, you'll find one of these values
in the /Q key.

That's the PDF answer; how to do it with iText?
At first sight I didn't find a method to change this key;
I'll try making an example soon (probably in the weekend).
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to