-none- 2007-09-17 - By Paulo Soares
Back ColumnText.getWidth(Phrase).
Paulo
> -- --Original Message-- -- > From: itext-questions-bounces@(protected) > [mailto:itext-questions-bounces@(protected)] On > Behalf Of Hans > Sent: Sunday, September 16, 2007 4:00 PM > To: itext-questions@(protected) > Subject: [iText-questions] How to get the size of a Paragraph or Phras > > Hi everyone, > > I created a Paragraph using following codes: > > Font font9 = FontFactory.GetFont(FontFactory.TIMES_ROMAN, 10); > Paragraph prs = new Paragraph("Liberia-Informal Briefing on > Financing Package for Arrears Clearance and ", font9); > > Is there any API for me to get the size of string. I mean not > the string length, but the space the string occupies. > Thanks. > > Best regards.
Aviso Legal: Esta mensagem ? destinada exclusivamente ao destinat?rio. Pode conter informa? ?o confidencial ou legalmente protegida. A incorrecta transmiss?o desta mensagem n?o significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. ? proibido a qualquer pessoa que n?o o destinat?rio de usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|