logo       

String Size: msg#00156

java.lib.itext.general

Subject: String Size

I need help in determining the size if a string  of a particular font. I noticed that com.lowagie.text.pdf.PdfGraphics2D.PdfFontMetrics  has a stringWidth(String) method which could probably be helpful. Unfortunately, the constructors of this class are private. How can solve this?
 
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise