Wednesday 6 August 2014

Adding a Horizontal Line to PDF similar to hr tag

iTextSharp.text.pdf.draw.LineSeparator line1 = new iTextSharp.text.pdf.draw.LineSeparator(0f, 100f, BaseColor.BLACK, Element.ALIGN_LEFT, 1);
document.Add(new Chunk(line1));