Re: [iText-questions] Adding Text to ContentByet.drawTextField

2011-09-27 Thread 1T3XT BVBA
On 27/09/2011 12:44, Sailesh K wrote: Thanks. How about adding text to the text field drawn using ContentByet.drawTextField ? Would you know how I can do that? I fear the name of that method is confusing you. That method draw the appearance of an empty TextField. It doesn't add a real text fie

Re: [iText-questions] Adding Text to ContentByet.drawTextField

2011-09-27 Thread Sailesh K
Thanks. How about adding text to the text field drawn using ContentByet.drawTextField ? Would you know how I can do that?   Cheers    From: 1T3XT BVBA To: Sailesh K ; Post all your questions about iText here Sent: Tuesday, September 27, 2011 3:30 AM Subject: Re: [iText-questions] Adding Text

Re: [iText-questions] Adding Text to ContentByet.drawTextField

2011-09-27 Thread 1T3XT BVBA
On 27/09/2011 0:24, Sailesh K wrote: also, how do I tirgger making this OCG invisible based on some user action? Im thinking it will have to be javascript. but how do I embed the javascript in the doc at the time it is created. Can I do that using itext? Yes, see section 15.1.4 entitled "Changi

[iText-questions] Adding Text to ContentByet.drawTextField

2011-09-26 Thread Sailesh K
Please disregard my previous questions. managed to work them out.   I have currently added a text field to cover certain pages, using the below syntax.   contentByte.drawTextField(rect.getBottom(), rect.getLeft(), rect.getRight(), rect.getTop());   How do I add some text to show up in the above T