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
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.addElement(pCell); ... I get the row height how as I want. I know that it isn't the better way but it's working now. When I put a Paragraph i

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

2005-12-09 Thread Ary Junior
Hi, is there any way to get the same efect of the table.addCell("teste") when I use the paragraph with the string inside a pdfpcell? The cell height can't have the same height of the String? Thanks very much! Ary Junior Paulo Soares wrote: The font name is "Times-Roman". To be safe use Font

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-questions] Heig