i am generating pdf using java i want to do alignment in pdf using java but i found mostly left and right alignment in a row. i want to divide single row in 4 parts then how can i do that.
create PdfPTable instead of row. ex:-PdfPTable pdftable = new PdfPTable(4); Create four PdfPCell. ex:-PdfPCell cell1 = new PdfPCell(); This will work as you want.