Hi, pdfTable.DefaultCell.HorizontalAlignment = Element.ALIGN_LEFT; pdfTable.DefaultCell.NoWrap = true; pdfTable.AddCell(new Phrase("bla bla", FontFactory.GetFont("Courier", 5)));
OR pdfCell = new PdfPCell(new Phrase("bla bla", FontFactory.GetFont("Courier", 5))); pdfCell.HorizontalAlignment = Element.ALIGN_LEFT; pdfCell.NoWrap = true; pdfTable.AddCell(pdfCell); See them in examples !!! Attila. Idézet (Faraz Fallahi <faraz.fall...@googlemail.com>): > Hi > > id love to adjust the text in the cells to just be as long as the > columns width. I dont want it to break line. i would just like to have > the text cut and followed by dots like "this is the text i want to > ha..." > > does somebody know the solution? > > greez noise > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php