SyntaxFix
Write A Post
Hire A Developer
Questions
pdfDoc.Open(); Paragraph para = new Paragraph("Hello World", new Font(Font.FontFamily.HELVETICA, 22)); para.Alignment = Element.ALIGN_CENTER; pdfDoc.Add(para); pdfDoc.Add(new Paragraph("\r\n")); htmlparser.Parse(sr); pdfDoc.Close();