title: How do I get the width and height of a doc generated with FPDF
body: <p>How can I get height and width of a document in FPDF.</p>
  
  <p>For example, I've next line:</p>
  
  <pre><code>$this-&gt;Cell(200,5,'ATHLETIC DE COLOMBIA S.A.',1,1,'C',1);
  </code></pre>
  
  <p>But, I want to do something like:</p>
  
  <pre><code>// $x = width of page
  $this-&gt;Cell($x,5,'ATHLETIC DE COLOMBIA S.A.',1,1,'C',1);
  </code></pre>