title: In iTextSharp, can we set the vertical position of the pdfwriter?
body: <p>I've recently started using iTextSharp to generate PDF reports from data. It works quite nicely.</p>
  
  <p>In one particular report, I need a section to always appear at the bottom of the page. I'm using the PdfContentByte to create a dashed line 200f from the bottom:</p>
  
  <pre><code>cb.MoveTo(0f, 200f);
  cb.SetLineDash(8, 4, 0);
  cb.LineTo(doc.PageSize.Width, 200f);
  cb.Stroke();
  </code></pre>
  
  <p>Now I'd like to insert content below that line. However, (as expected) the PdfContentByte methods don't change the vertical position of the PdfWriter. New paragraphs, for example, appear earlier in the page.</p>
  
  <pre><code>// appears wherever my last content was, NOT below the dashed line
  doc.Add(new Paragraph("test", _myFont));
  </code></pre>
  
  <p>Is there some way to instruct the pdfwriter that I'd like to advance the vertical position to below the dashed line now, and continue inserting content there? There is a <strong>GetVerticalPosition()</strong> method -- it'd be nice if there was a corresponding Setter :-).</p>
  
  <pre><code>// Gives me the vertical position, but I can't change it
  var pos = writer.GetVerticalPosition(false);
  </code></pre>
  
  <p>So, is there any way to set the writer's position by hand? Thanks!</p>