Goran Bibic

Goran Bibic

  • 482
  • 2.9k
  • 196.7k

Two lines in one row? Itext sharp

Apr 26 2018 4:14 AM
I need two lines in one row
 
  1. Paragraph par = new Paragraph(new Chunk(new iTextSharp.text.pdf.draw.LineSeparator(0.0F, 20.0F, BaseColor.BLACK, Element.ALIGN_RIGHT, 1)));  
  2. pdfDoc.Add(par); 
 Try
 
  1. Paragraph par = new Paragraph(new Chunk(new iTextSharp.text.pdf.draw.LineSeparator(0.0F, 20.0F, BaseColor.BLACK, Element.ALIGN_RIGHT, 1)));    
  2. pdfDoc.Add(par);   
  3.   
  4. Paragraph par2 = new Paragraph(new Chunk(new iTextSharp.text.pdf.draw.LineSeparator(0.0F, 20.0F, BaseColor.BLACK, Element.ALIGN_RIGHT, 1)));    
  5. pdfDoc.Add(par2);  
 I have two lines in two rows
 
Some help?

Answers (1)