RE: [iText-questions] Height of a Paragraph inside a PdfPCell

2005-12-16 Thread Paulo Soares
Reynolds > Subject: Re: [iText-questions] Height of a Paragraph inside a PdfPCell > > Hi! Answering to my own question: Yes, there is a way! I do it: > > ... > pCell = new Paragraph("teste"); > ... > pCell.setLeading((pCell.leading()/2)+2); > ... > cell.addEle

Re: [iText-questions] Height of a Paragraph inside a PdfPCell

2005-12-16 Thread Ary Junior
--- *From:* [EMAIL PROTECTED] on behalf of Ary Junior *Sent:* Thu 08-Dec-05 14:02 *To:* itext-questions@lists.sourceforge.net *Subject:* [iText-questions] Height of a Paragraph inside a PdfPCell Hi, please, ignore my last post. I need to put a String inside a Paragraph and the Paragraph inside

Re: [iText-questions] Height of a Paragraph inside a PdfPCell

2005-12-09 Thread Ary Junior
man". To be safe use Font.getCalculatedBaseFont(). *From:* [EMAIL PROTECTED] on behalf of Ary Junior *Sent:* Thu 08-Dec-05 14:02 *To:* itext-questions@lists.sourceforge.net *Subject:* [iText-questions] Height of a Paragr

RE: [iText-questions] Height of a Paragraph inside a PdfPCell

2005-12-08 Thread Paulo Soares
Title: [iText-questions] Height of a Paragraph inside a PdfPCell The font name is "Times-Roman". To be safe use Font.getCalculatedBaseFont(). From: [EMAIL PROTECTED] on behalf of Ary JuniorSent: Thu 08-Dec-05 14:02To: itext-questions@lists.sourceforge.netSubject: [iText

[iText-questions] Height of a Paragraph inside a PdfPCell

2005-12-08 Thread Ary Junior
Hi, please, ignore my last post. I need to put a String inside a Paragraph and the Paragraph inside the PdfPCell. If I do: ... pCell = new Paragraph("teste"); ... cell.addElement(pCell); ... table.addCell(cell); .. The cell height is major than the "teste" string height. Now, If I do: ... tabl

[iText-questions] Height of a Paragraph inside a PdfPCell

2005-12-08 Thread Ary Junior
Hi, I need to put a String inside a Paragraph and the Paragraph inside the PdfPCell. If I do: ... pCell = new Paragraph("teste"); ... cell.addElement(pCell); ... table.addCell(cell); .. The cell height is major than the "teste" string height. Now, If I do: ... table.addCell("teste"); ... The