Use BaseFont.getWidthPoint().

Best Regards,
Paulo Soares

----- Original Message -----
From: "prashant kakani" <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, December 26, 2002 21:40
Subject: Regarding Paragraph... plz help


> Dear iText Developers,
>
> In a part of my application i'm generating a PDF document which has
> Paragraph(s) and Check-boxes..
>
> The String content of a Paragraph, is dynamic content that i'm reading
> from a java-bean.
>
> I have a few check-boxes which are in between the Paragraphs.
>
> I was thinking that If i can find out whether the dynamic content of a
> Paragraph is exceeding one line or not.. or in some cases exceeding two
> lines or not..then i thought i can handle it better..
>
> So if anybody could tell me if there is any way in which i can find out
> whether the Paragraph content is not sufficient in one line or not..
> that'll be great..
>
> I really appreciate your help in this matter.
>
> Regards
>
> prashant
>
>
>
>
>
>
>   _____
>
> Do you Yahoo!?
> Yahoo! Mail Plus
> <http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com>  -
> Powerful. Affordable. Sign up now
> <http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com>
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to