I am facing difficulty while drawing line in PDF using ItextSharp. I have draw a line in pdf using
DrawLine(writer, 25f, document.Top - 520f, document.PageSize.Width - 25f, document.Top - 520, new Color(31, 73, 125));
If there is one record in table then it is ok, but when more than one data comes in table it overwrite the line. Please help to solve this.

Santhakumar MunuswamyRank #128 · 17.3K reputationPosted Jul 23, 2015, 11:57 AM EDT
Arun Kumar3 reputationPosted Jul 23, 2015, 10:14 PM EDT
Shreyas Kaushal2 reputationPosted Sep 2, 2015, 10:53 PM EDT
Did you try to draw the line after inserting the data? Sometimes the order of doing things affects where they appear.
If this doesn't solve it can you provide more information about what you need? Are you trying to draw graphics or annotations on the PDF pages, for example something like this?