|
Re: String Size: msg#00161java.lib.itext.general
Use BaseFont.getWidthPoint(). Best Regards, Paulo Soares ----- Original Message ----- From: "Sam Maina" <smaina@xxxxxxxxxx> To: <itext-questions@xxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, June 10, 2003 17:03 Subject: [iText-questions] String Size > I need help in determining the size if a string of a particular font. I > noticed that com.lowagie.text.pdf. > <http://itext.sourceforge.net/docs/com/lowagie/text/pdf/PdfGraphics2D.Pd > fFontMetrics.html> PdfGraphics2D.PdfFontMetrics has a > stringWidth(String) method which could probably be helpful. > Unfortunately, the constructors of this class are private. How can solve > this? > <mailto:smaina@xxxxxxxxxx> > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Data Merging - How to use it with tables with a non defined number of lines, Trop top qu'il est fort |
|---|---|
| Next by Date: | Re: Adding form fields to a pdf, Paulo Soares |
| Previous by Thread: | String Size, Sam Maina |
| Next by Thread: | Adding form fields to a pdf, Vincent Demarcus |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |