Hi!
I'm using a PdfGrid to render a report and I'm experiencing some problems with the alignment of the cell-text.
My scenario:
The grid's cellpadding and cellspacing:
pdfGrid.Style.CellPadding = new PdfPaddings(0.5f,5f,0.5f,0.5f);
pdfGrid.Style.CellSpacing = 0;
The Cell's alignment:
pdfGrid.Rows[i].Cells[0].StringFormat.Alignment = PdfTextAlignment.Right;
The problem is now that the text is not aligned on a strait line to the right, but it looks like the length of the text in each cell affects the right alignment position.
I've included both a screen dump pointing out the problem, and the PDF document itself.
Any ideas?
Thanks!
Best regards
Jon
Strange_Right_Alignment_79932273.zip