I mostly generate single page PDF ,but some times its have 2 pages and then the last line is overlap with content,bellow code working fine pdf file upto 1 page.
- Code: Select all
grid = new PdfGrid();
grid.Style.CellPadding = new PdfPaddings(3f, 3f, 3f, 3f);
grid.Columns.Add(1);
pdfGridRow = grid.Rows.Add();
pdfGridRow.Cells[0].Value = "(System Generated Purchase Order Signature NOT Required)";
pdfGridRow.Cells[0].StringFormat = new PdfStringFormat { Alignment = PdfTextAlignment.Center };
pdfGridRow.Cells[0].Style.Borders.All= new PdfPen(System.Drawing.Color.Transparent);
result = grid.Draw(page, new PointF(0, y));
but when 2nd page then the text overlap
Thanks in advance