Hi
I am also getting the same issue. I am trying to create a PDF file having around 800 pages. I am getting this error at around 5500 page. I am having 3 columns always.
void table_EndCellLayout(object sender, EndCellLayoutEventArgs args)
{
if (args.RowIndex != 0 && args.CellIndex == 0 && !isSkipped) //Name column
{
args.Graphics.DrawRectangle(PdfPens.Black, PdfBrushes.LightPink, args.Bounds);
}
}
bool isSkipped = false;
void table_BeginCellLayout(object sender, BeginCellLayoutEventArgs args)
{
try
{
if (args.RowIndex == _TotalRowsCount || (args.RowIndex != 0 && _IsDrawingHeaderRowInMiddle && _JustPrintedHeaderRow))
{
args.Skip = true;
isSkipped = true;
}
}
catch (Exception e)
{
GuiController.ShowException("Error when populating the data in the PDF", e);
}
}
Can you suggest any solution for this? if i am skipping this error at 5500th page, from there it will go fine and generate the PDF properly. but it will not write one row value. this row value is a string and relatively large but more bigger string has been drawn in early pages.
Please help...
Regards
Biju Koshy