title: iText7, Is there a way to control carriage return inside rectangle?
body: <p>I'm using iText 7 with C# and I have to write a long line.</p>
  
  <p>With <code>canvas.BeginText().ShowText("My text")</code> I can't find a way to make the text pass on a second line, <code>\n</code> is not recognized.</p>
  
  <p>So I used rectangles and document renderer but I have the same problem, I can't control where I want my text to create a new line.</p>
  
  <p>I use an existing PDF (a model) where I have to write some texts (as short as a single line) and some paragraphs (composed of several lines). Those elements are defined in an xml where I can have some carriage returns to delimit new lines in paragraphs. Is short, the document is composed dynamically and it's content and element's placement are defined inside an xml file.</p>