Adding a New Line in iTextSharp
问题 I’ve been trying to solve this problem for a while now to no avail. I have some text in iTextSharp I’m trying to put on a newline. I’ve tried using the \n escape character, Environment.NewLine , and document.Add(new Phrase(Environment.NewLine)) without any success. So is there a way to do this? Here is the piece of my code I’m trying to do it in (note the lines commented with //Doesn't work ): //Open the reader PdfReader reader = new PdfReader(oldFile); Rectangle size = reader