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.
Shreyas KaushalPosted Sep 3, 2015, 2:53 AM
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?Arun KumarPosted Jul 24, 2015, 2:14 AM
Santhakumar MunuswamyPosted Jul 23, 2015, 3:57 PM