Posted on: 5/27/2012 5:19:19 AM | Views : 373

Hi guys,
sorry for my English....
I edit a pdf with this code
PdfStamper pdfStamper = new PdfStamper(reader, memoryStream); PdfContentByte cb = pdfStamper.GetUnderContent(1); ColumnText ct = new ColumnText(cb); BaseFont bfTimes = BaseFont.CreateFont(BaseFont.TIMES_ROMAN, BaseFont.CP1252, false); Font font1 = new Font(bfTimes, 12, Font.BOLD, Color.BLACK); String str = "text"; ct.SetSimpleColumn(new Phrase(str , font1), 70, reader.GetPageSizeWithRotation(1).Height, 775, 36, 25, Element.ALIGN_LEFT | Element.ALIGN_TOP); ct.Go();


I used a TextColumn because I have to add long text and so it goes new line automatically. The problem is that when the text arrived at the end of the page, it goes out to the page and doesn't create new page automatically. How can I do it????
thanks
...

Go to the complete details ...