com.lowagie.text.pdf.AcroFields.Item item = form.getFieldItem(field);
PdfDictionary dict = (PdfDictionary) item.merged.get(0);
Object multiline = dict.get(PdfName.FF
);if (multiline == null) {
//Do something
}
This no long seems to work as I intended because fields that do not have the multiline property checked return an integer value rather than a null like it used to. it seems like I am missing something and there should be an easier way.
I am using the latest version of Itext on JDK 1.3.1_10
---------------------------------------------------------
This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies.
---------------------------------------------------------
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
