Hi , Again a help is required.
I am reading the form fields from the PDF using Acrofields. I would like to distinguish between Text and TextArea. I came to know that there is no such thing as textArea its just text field with 'multiline' property set to true. I would like to get the values of 'Mulitiline' and 'maxlength' property of the Text fields. I guess it is a property to do with the PDFDictionary object. Could you kindly let me know how can I retrieve the multiline and maxlength property Your inputs will be highly appreciated. Code Snippet ------------------- PdfReader reader = new PdfReader("c:\\register_form2.pdf"); AcroFields form = reader.getAcroFields(); HashMap fields = form.getFields(); String key; for (Iterator i = fields.keySet().iterator(); i.hasNext();) { key = (String) i.next(); AcroFields.Item fldItem = (AcroFields.Item)fields.get( key ); PdfDictionary merged = fldItem.getMerged( 0 ); ??????? ??????? } } With thanks and regards, S.K.Ramachandran ****************************************************************************************************************************** "This message and any attachments are solely for the intended recipient and may contain Birlasoft confidential or privileged information. If you are not the intended recipient,any disclosure,copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail(administra...@birlasoft.com) immediately and permanently delete this message and any attachments. Thank you." ************************************************************************************************************************************************************************ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/