I need to create a PDF with several sections, and after each section need to add a line, but I don\'t know where to draw this line.
I need to find the exact coordin
If you just need to draw a line after the current section, maybe you do not need to know current x and y. Try this:
iTextSharp.text.pdf.draw.DottedLineSeparator sepLINE = new iTextSharp.text.pdf.draw.DottedLineSeparator();
sepLINE.LineWidth = 1;
sepLINE.Gap = 2;
sepLINE.Percentage = 50;
sepLINE.LineColor = new iTextSharp.text.BaseColor(System.Drawing.Color.Blue);
Chunk chnkLINE = new Chunk(sepLINE);
pdfDoc.Add(chnkLINE);