title: Align Paragraph at the center of the page
body: <p>I am using itext to generate pdf file. I want to align my title in the middle of the page. Presently i am using like this</p>
  
  <pre><code>Paragraph preface = new Paragraph();  
  for (int i = 0; i &lt; 10; i++) {
      preface.add(new Paragraph(" "));
  }
  </code></pre>
  
  <p>Is it correct or is there any another best way to do this.</p>